2021-08-14 22:01:11 +03:00
|
|
|
name: macos build scripts
|
|
|
|
|
|
|
|
on: [ push, pull_request ]
|
|
|
|
|
|
|
|
jobs:
|
2021-10-09 17:14:44 +03:00
|
|
|
build-main-on-macos-bigsur:
|
|
|
|
name: macos main on big sur
|
|
|
|
runs-on: macos-11
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
xcode: [ '12.5.1', '13.0' ]
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: bash
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- 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-catalina:
|
|
|
|
name: macos 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
|
|
|
|
- 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: ./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() }}
|
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: macos 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
|
|
|
|
- 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: ./macos.sh --lts --enable-macos-audiotoolbox --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() }}
|
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'
|