Skip to content

Commit

Permalink
Update c-cpp_cmake.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CSReviser authored Jun 5, 2024
1 parent bb316a1 commit e40ee72
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/c-cpp_cmake.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: MacOS qt6.5 Univarsal cmake C/C++ CI
name: 1. MacOS 12 qt6.5LTS Univarsal cmake C/C++ CI

on:
workflow_dispatch:
Expand All @@ -16,23 +16,32 @@ jobs:
with:
version: 6.5.*
modules: 'qtcharts'

- name: Setup FFmpeg
uses: AnimMouse/setup-ffmpeg@v1
with:
version: 5.1.2

- uses: actions/checkout@v4
- name: cmake
run: cmake -S ./ -B ./ -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"
- name: make
run: make

- name: Make CaptureStream executable
run: chmod -R 755 ./CaptureStream.app

run: |
wget -qO FFmpeg.7z https://evermeet.cx/ffmpeg/ffmpeg-5.1.2.7z
7z e FFmpeg.7z ffmpeg -o./CaptureStream.app/Contents/MacOS/
chmod -R 755 ./CaptureStream.app
- name: mkdir
run: mkdir ./build
- name: cp
run: mv ./CaptureStream.app ./build/
run: mkdir -p ./build/MacCaptureStream

- name: Tar files
run: tar cvf CaptureStream.tar ./CaptureStream.app

- uses: actions/upload-artifact@v4
with:
name: CaptureStream-Univarsal-qt65
path: ./build
path: CaptureStream.tar

0 comments on commit e40ee72

Please sign in to comment.