2021-08-14 22:01:11 +03:00
|
|
|
name: tvos build scripts
|
|
|
|
|
2021-11-05 20:57:47 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- development
|
|
|
|
- main
|
2022-05-15 15:08:38 +03:00
|
|
|
paths:
|
|
|
|
- '.github/workflows/tvos-build-scripts.yml'
|
|
|
|
- 'apple/**'
|
2022-05-21 01:36:53 +03:00
|
|
|
- '!apple/README.md'
|
2022-05-15 15:08:38 +03:00
|
|
|
- 'scripts/**'
|
|
|
|
- 'tools/**'
|
|
|
|
- 'apple.sh'
|
|
|
|
- 'tvos.sh'
|
2021-11-05 20:57:47 +02:00
|
|
|
pull_request:
|
|
|
|
branches:
|
2022-08-19 01:02:23 +03:00
|
|
|
- development
|
2021-11-05 20:57:47 +02:00
|
|
|
- main
|
2022-05-15 15:08:38 +03:00
|
|
|
paths:
|
|
|
|
- '.github/workflows/tvos-build-scripts.yml'
|
|
|
|
- 'apple/**'
|
2022-10-01 00:58:46 +03:00
|
|
|
- '!apple/README.md'
|
2022-05-15 15:08:38 +03:00
|
|
|
- 'scripts/**'
|
|
|
|
- 'tools/**'
|
|
|
|
- 'apple.sh'
|
|
|
|
- 'tvos.sh'
|
2021-08-14 22:01:11 +03:00
|
|
|
|
|
|
|
jobs:
|
2022-10-01 01:11:01 +03:00
|
|
|
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'
|
2021-10-09 17:14:44 +03:00
|
|
|
build-main-on-macos-bigsur:
|
|
|
|
name: tvos main on big sur
|
|
|
|
runs-on: macos-11
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2022-01-03 01:28:09 +02:00
|
|
|
xcode: [ '12.5.1', '13.2.1' ]
|
2021-10-09 17:14:44 +03:00
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: bash
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2022-08-28 18:05:23 +03:00
|
|
|
- name: prerequisites
|
|
|
|
run: brew install autoconf automake libtool pkg-config curl git cmake nasm
|
2021-10-09 17:14:44 +03:00
|
|
|
- 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-catalina:
|
|
|
|
name: tvos main on catalina
|
2021-08-14 22:01:11 +03:00
|
|
|
runs-on: macos-10.15
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
xcode: [ '11.7', '12.4' ]
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: bash
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2022-08-28 18:05:23 +03:00
|
|
|
- name: prerequisites
|
|
|
|
run: brew install autoconf automake libtool pkg-config curl git cmake nasm
|
2021-08-14 22:01:11 +03:00
|
|
|
- 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
|
2021-08-15 01:07:35 +03:00
|
|
|
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() }}
|
2021-08-14 22:01:11 +03:00
|
|
|
run: cat build.log
|
2021-08-15 01:07:35 +03:00
|
|
|
- name: print ffbuild logs
|
2021-08-14 22:01:11 +03:00
|
|
|
if: ${{ failure() }}
|
2021-08-15 01:07:35 +03:00
|
|
|
run: '[[ -f ./src/ffmpeg/ffbuild/config.log ]] && tail -50 ./src/ffmpeg/ffbuild/config.log'
|
2021-08-14 22:01:11 +03:00
|
|
|
build-lts-on-macos:
|
|
|
|
name: tvos lts
|
|
|
|
runs-on: macos-10.15
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-08-15 01:07:35 +03:00
|
|
|
xcode: [ '10.3', '11.7' ]
|
2021-08-14 22:01:11 +03:00
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: bash
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2022-08-28 18:05:23 +03:00
|
|
|
- name: prerequisites
|
|
|
|
run: brew install autoconf automake libtool pkg-config curl git cmake nasm
|
2021-08-14 22:01:11 +03:00
|
|
|
- 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
|
2021-08-15 01:07:35 +03:00
|
|
|
run: ./tvos.sh --lts --enable-tvos-bzip2 --enable-tvos-audiotoolbox --enable-tvos-libiconv --enable-tvos-zlib
|
|
|
|
- name: print build logs
|
|
|
|
if: ${{ always() }}
|
2021-08-14 22:01:11 +03:00
|
|
|
run: cat build.log
|
2021-08-15 01:07:35 +03:00
|
|
|
- name: print ffbuild logs
|
2021-08-14 22:01:11 +03:00
|
|
|
if: ${{ failure() }}
|
2021-08-15 01:07:35 +03:00
|
|
|
run: '[[ -f ./src/ffmpeg/ffbuild/config.log ]] && tail -50 ./src/ffmpeg/ffbuild/config.log'
|