ffmpeg-kit/.github/workflows/ios-build-scripts.yml

99 lines
3.3 KiB
YAML
Raw Normal View History

2021-08-14 22:01:11 +03:00
name: ios build scripts
on:
push:
branches:
- development
- main
paths:
- '.github/workflows/ios-build-scripts.yml'
- 'apple/**'
- '!apple/README.md'
- 'scripts/**'
- 'tools/**'
- 'apple.sh'
- 'ios.sh'
pull_request:
branches:
- development
- main
2022-05-22 17:09:53 +03:00
paths:
- '.github/workflows/ios-build-scripts.yml'
- 'apple/**'
2022-10-01 00:58:46 +03:00
- '!apple/README.md'
2022-05-22 17:09:53 +03:00
- 'scripts/**'
- 'tools/**'
- 'apple.sh'
- 'ios.sh'
2021-08-14 22:01:11 +03:00
jobs:
build-main-on-macos-sonoma:
name: ios main on sonoma
runs-on: macos-14
strategy:
matrix:
xcode: [ '14.3.1', '15.3' ]
defaults:
run:
shell: bash
steps:
2024-04-19 00:58:27 +03:00
- 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: ./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-ventura:
name: ios main on ventura
runs-on: macos-13
strategy:
matrix:
xcode: [ '14.3.1', '15.2' ]
defaults:
run:
shell: bash
steps:
2024-04-19 00:58:27 +03:00
- 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: ./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-lts-on-macos-monterey:
name: ios lts on monterey
runs-on: macos-12
2021-08-14 22:01:11 +03:00
strategy:
matrix:
xcode: [ '13.4.1', '14.2' ]
2021-08-14 22:01:11 +03:00
defaults:
run:
shell: bash
steps:
2024-04-19 00:58:27 +03:00
- uses: actions/checkout@v4
- 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-09-18 15:20:11 +03:00
run: ./ios.sh --lts --enable-ios-audiotoolbox --enable-ios-bzip2 --enable-ios-libiconv --enable-ios-zlib
2021-08-15 01:07:35 +03:00
- 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'