diff --git a/.github/workflows/c-cpp_cmake.yml b/.github/workflows/c-cpp_cmake.yml index 38b64f6..556cb7c 100644 --- a/.github/workflows/c-cpp_cmake.yml +++ b/.github/workflows/c-cpp_cmake.yml @@ -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: @@ -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