-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (35 loc) · 1.13 KB
/
Copy pathc-cpp-mac-Intel.yml
File metadata and controls
45 lines (35 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: 1 MacOS qt6.2 Universal qmake C/C++ CI
on:
workflow_dispatch:
branches: [ master ]
jobs:
build:
runs-on: macos-14
steps:
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: 6.2.*
modules: 'qtcharts'
- uses: actions/checkout@v4
- name: qmake
run: qmake -makefile CaptureStream2.pro QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64"
- name: make
run: make
- name: Make CaptureStream2 executable
run: |
wget -qO FFmpeg.7z https://evermeet.cx/ffmpeg/ffmpeg-5.1.2.7z
7z e FFmpeg.7z ffmpeg -o./CaptureStream2.app/Contents/MacOS/
chmod -R 755 ./CaptureStream2.app
- name: mkdir
run: mkdir -p ./build/MacCaptureStream2
- name: cp icon
run: cp ./icon.icns ./CaptureStream2.app/Contents/Resources/
- name: cp qss
run: cp ./qss_files/stylesheet-mac.qss ./CaptureStream2.app/Contents/MacOS/
- name: mv
run: mv ./CaptureStream2.app ./build/MacCaptureStream2/
- uses: actions/upload-artifact@v4
with:
name: CaptureStream2-OS10x-Universal
path: ./build