diff --git a/.github/workflows/ios-build-scripts.yml b/.github/workflows/ios-build-scripts.yml index 7d2ad13..729f983 100644 --- a/.github/workflows/ios-build-scripts.yml +++ b/.github/workflows/ios-build-scripts.yml @@ -27,6 +27,29 @@ on: - 'ios.sh' jobs: + build-main-on-macos-monterey: + name: ios main on monterey + runs-on: macos-12 + strategy: + matrix: + xcode: [ '13.4.1', '14.0.1' ] + defaults: + run: + shell: bash + steps: + - uses: actions/checkout@v2 + - name: prerequisites + run: brew install autoconf automake libtool pkg-config curl git cmake nasm + - name: set up xcode + run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh + - name: run the build script + run: ./ios.sh --xcframework --enable-ios-audiotoolbox --enable-ios-avfoundation --enable-ios-bzip2 --enable-ios-libiconv --enable-ios-videotoolbox --enable-ios-zlib + - name: print build logs + if: ${{ always() }} + run: cat build.log + - name: print ffbuild logs + if: ${{ failure() }} + run: '[[ -f ./src/ffmpeg/ffbuild/config.log ]] && tail -50 ./src/ffmpeg/ffbuild/config.log' build-main-on-macos-bigsur: name: ios main on big sur runs-on: macos-11 diff --git a/.github/workflows/macos-build-scripts.yml b/.github/workflows/macos-build-scripts.yml index c06282c..cfca086 100644 --- a/.github/workflows/macos-build-scripts.yml +++ b/.github/workflows/macos-build-scripts.yml @@ -27,6 +27,29 @@ on: - 'macos.sh' jobs: + build-main-on-macos-monterey: + name: macos main on monterey + runs-on: macos-12 + strategy: + matrix: + xcode: [ '13.4.1', '14.0.1' ] + defaults: + run: + shell: bash + steps: + - uses: actions/checkout@v2 + - name: prerequisites + run: brew install autoconf automake libtool pkg-config curl git cmake nasm + - name: set up xcode + run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh + - name: run the build script + run: ./macos.sh --xcframework --enable-macos-audiotoolbox --enable-macos-avfoundation --enable-macos-bzip2 --enable-macos-coreimage --enable-macos-libiconv --enable-macos-opencl --enable-macos-opengl --enable-macos-videotoolbox --enable-macos-zlib + - name: print build logs + if: ${{ always() }} + run: cat build.log + - name: print ffbuild logs + if: ${{ failure() }} + run: '[[ -f ./src/ffmpeg/ffbuild/config.log ]] && tail -50 ./src/ffmpeg/ffbuild/config.log' build-main-on-macos-bigsur: name: macos main on big sur runs-on: macos-11 diff --git a/.github/workflows/periodic-builds-apple.yml b/.github/workflows/periodic-builds-apple.yml index 11048ee..6099d07 100644 --- a/.github/workflows/periodic-builds-apple.yml +++ b/.github/workflows/periodic-builds-apple.yml @@ -5,12 +5,12 @@ on: - cron: '0 1 * * 0' jobs: - build-ios-main-on-macos-bigsur: - name: ios main on big sur - runs-on: macos-11 + build-ios-main-on-macos-monterey: + name: ios main on monterey + runs-on: macos-12 strategy: matrix: - xcode: [ '13.2.1' ] + xcode: [ '13.4.1' ] branches: [ 'main', 'development' ] defaults: run: @@ -57,12 +57,12 @@ jobs: - name: print ffbuild logs if: ${{ failure() }} run: '[[ -f ./src/ffmpeg/ffbuild/config.log ]] && tail -50 ./src/ffmpeg/ffbuild/config.log' - build-macos-main-on-macos-bigsur: - name: macos main on big sur - runs-on: macos-11 + build-macos-main-on-macos-monterey: + name: macos main on monterey + runs-on: macos-12 strategy: matrix: - xcode: [ '13.2.1' ] + xcode: [ '13.4.1' ] branches: [ 'main', 'development' ] defaults: run: @@ -109,12 +109,12 @@ jobs: - name: print ffbuild logs if: ${{ failure() }} run: '[[ -f ./src/ffmpeg/ffbuild/config.log ]] && tail -50 ./src/ffmpeg/ffbuild/config.log' - build-tvos-main-on-macos-bigsur: - name: tvos main on big sur - runs-on: macos-11 + build-tvos-main-on-macos-monterey: + name: tvos main on monterey + runs-on: macos-12 strategy: matrix: - xcode: [ '13.2.1' ] + xcode: [ '13.4.1' ] branches: [ 'main', 'development' ] defaults: run: diff --git a/.github/workflows/tvos-build-scripts.yml b/.github/workflows/tvos-build-scripts.yml index d31d5be..c5e3c0a 100644 --- a/.github/workflows/tvos-build-scripts.yml +++ b/.github/workflows/tvos-build-scripts.yml @@ -27,6 +27,29 @@ on: - 'tvos.sh' jobs: + build-main-on-macos-monterey: + name: tvos main on monterey + runs-on: macos-12 + strategy: + matrix: + xcode: [ '13.4.1', '14.0.1' ] + defaults: + run: + shell: bash + steps: + - uses: actions/checkout@v2 + - name: prerequisites + run: brew install autoconf automake libtool pkg-config curl git cmake nasm + - name: set up xcode + run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh + - name: run the build script + run: ./tvos.sh --xcframework --enable-tvos-bzip2 --enable-tvos-audiotoolbox --enable-tvos-libiconv --enable-tvos-videotoolbox --enable-tvos-zlib + - name: print build logs + if: ${{ always() }} + run: cat build.log + - name: print ffbuild logs + if: ${{ failure() }} + run: '[[ -f ./src/ffmpeg/ffbuild/config.log ]] && tail -50 ./src/ffmpeg/ffbuild/config.log' build-main-on-macos-bigsur: name: tvos main on big sur runs-on: macos-11