fix weekly builds #352
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tvos build scripts | |
on: | |
push: | |
branches: | |
- development | |
- main | |
paths: | |
- '.github/workflows/tvos-build-scripts.yml' | |
- 'apple/**' | |
- '!apple/README.md' | |
- 'scripts/**' | |
- 'tools/**' | |
- 'apple.sh' | |
- 'tvos.sh' | |
pull_request: | |
branches: | |
- development | |
- main | |
paths: | |
- '.github/workflows/tvos-build-scripts.yml' | |
- 'apple/**' | |
- '!apple/README.md' | |
- 'scripts/**' | |
- 'tools/**' | |
- 'apple.sh' | |
- 'tvos.sh' | |
jobs: | |
build-main-on-macos-sonoma: | |
name: tvos main on sonoma | |
runs-on: macos-14 | |
strategy: | |
matrix: | |
xcode: [ '15.4', '16.0' ] | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v4 | |
- 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-ventura: | |
name: tvos main on ventura | |
runs-on: macos-13 | |
strategy: | |
matrix: | |
xcode: [ '14.3.1', '15.2' ] | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v4 | |
- 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-lts-on-macos-monterey: | |
name: tvos lts on monterey | |
runs-on: macos-12 | |
strategy: | |
matrix: | |
xcode: [ '13.4.1', '14.2' ] | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 --lts --enable-tvos-bzip2 --enable-tvos-audiotoolbox --enable-tvos-libiconv --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' |