test build scripts using the newer xcode versions

This commit is contained in:
Taner Sener 2022-09-30 23:11:01 +01:00
parent 8148022090
commit c8c74019c2
4 changed files with 81 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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