ffmpeg-kit/.github/workflows/periodic-builds-apple.yml

164 lines
6.9 KiB
YAML
Raw Normal View History

2021-12-31 23:52:22 +02:00
name: apple nightly builds
on:
schedule:
2022-01-10 11:08:08 +02:00
- cron: '0 1 * * 0'
2021-12-31 23:52:22 +02:00
jobs:
2023-09-10 12:03:35 +03:00
build-ios-main-on-macos-ventura:
name: ios main on ventura
runs-on: macos-13
2021-12-31 23:52:22 +02:00
strategy:
matrix:
2023-09-10 12:03:35 +03:00
xcode: [ '14.3.1' ]
2021-12-31 23:52:22 +02:00
branches: [ 'main', 'development' ]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
ref: ${{ matrix.branches }}
2022-01-03 11:45:25 +02:00
- name: prerequisites
2023-09-10 01:24:01 +03:00
run: brew install autoconf automake libtool pkg-config curl git doxygen nasm cmake gcc gperf texinfo yasm bison autogen wget gettext meson ninja ragel groff gtk-doc libtasn1 --overwrite
2021-12-31 23:52:22 +02: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
2023-09-10 12:03:35 +03:00
run: PATH="/usr/local/opt/bison/bin:$PATH" XML_CATALOG_FILES="/usr/local/etc/xml/catalog" ./ios.sh -x --full --enable-gpl --disable-lib-srt --disable-lib-gnutls
2021-12-31 23:52:22 +02:00
- 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'
2023-09-10 12:03:35 +03:00
build-ios-lts-on-macos-monterey:
name: ios lts on monterey
runs-on: macos-12
2021-12-31 23:52:22 +02:00
strategy:
matrix:
2023-09-10 12:03:35 +03:00
xcode: [ '14.2' ]
2021-12-31 23:52:22 +02:00
branches: [ 'main', 'development' ]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
ref: ${{ matrix.branches }}
2022-01-03 11:45:25 +02:00
- name: prerequisites
2023-09-10 01:24:01 +03:00
run: brew install autoconf automake libtool pkg-config curl git doxygen nasm cmake gcc gperf texinfo yasm bison autogen wget gettext meson ninja ragel groff gtk-doc libtasn1 --overwrite
2021-12-31 23:52:22 +02: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
2023-09-10 12:03:35 +03:00
run: PATH="/usr/local/opt/bison/bin:$PATH" XML_CATALOG_FILES="/usr/local/etc/xml/catalog" ./ios.sh -l --full --enable-gpl --disable-lib-srt --disable-lib-gnutls --disable-armv7s --disable-arm64e --disable-i386
2021-12-31 23:52:22 +02:00
- 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'
2023-09-10 12:03:35 +03:00
build-macos-main-on-macos-ventura:
name: macos main on ventura
runs-on: macos-13
2021-12-31 23:52:22 +02:00
strategy:
matrix:
2023-09-10 12:03:35 +03:00
xcode: [ '14.3.1' ]
2021-12-31 23:52:22 +02:00
branches: [ 'main', 'development' ]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
ref: ${{ matrix.branches }}
2022-01-03 11:45:25 +02:00
- name: prerequisites
2023-09-10 01:24:01 +03:00
run: brew install autoconf automake libtool pkg-config curl git doxygen nasm cmake gcc gperf texinfo yasm bison autogen wget gettext meson ninja ragel groff gtk-doc libtasn1 --overwrite
2021-12-31 23:52:22 +02: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
2023-09-10 12:03:35 +03:00
run: PATH="/usr/local/opt/bison/bin:$PATH" XML_CATALOG_FILES="/usr/local/etc/xml/catalog" ./macos.sh -x --full --enable-gpl --disable-lib-srt --disable-lib-gnutls
2021-12-31 23:52:22 +02:00
- 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'
2023-09-10 12:03:35 +03:00
build-macos-lts-on-macos-monterey:
name: macos lts on monterey
runs-on: macos-12
2021-12-31 23:52:22 +02:00
strategy:
matrix:
2023-09-10 12:03:35 +03:00
xcode: [ '14.2' ]
2021-12-31 23:52:22 +02:00
branches: [ 'main', 'development' ]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
ref: ${{ matrix.branches }}
2022-01-03 11:45:25 +02:00
- name: prerequisites
2023-09-10 01:24:01 +03:00
run: brew install autoconf automake libtool pkg-config curl git doxygen nasm cmake gcc gperf texinfo yasm bison autogen wget gettext meson ninja ragel groff gtk-doc libtasn1 --overwrite
2021-12-31 23:52:22 +02: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
2023-09-10 12:03:35 +03:00
run: PATH="/usr/local/opt/bison/bin:$PATH" XML_CATALOG_FILES="/usr/local/etc/xml/catalog" ./macos.sh -l --full --enable-gpl --disable-lib-srt --disable-lib-gnutls
2021-12-31 23:52:22 +02:00
- 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'
2023-09-10 12:03:35 +03:00
build-tvos-main-on-macos-ventura:
name: tvos main on ventura
runs-on: macos-13
2021-12-31 23:52:22 +02:00
strategy:
matrix:
2023-09-10 12:03:35 +03:00
xcode: [ '14.3.1' ]
2021-12-31 23:52:22 +02:00
branches: [ 'main', 'development' ]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
ref: ${{ matrix.branches }}
2022-01-03 11:45:25 +02:00
- name: prerequisites
2023-09-10 01:24:01 +03:00
run: brew install autoconf automake libtool pkg-config curl git doxygen nasm cmake gcc gperf texinfo yasm bison autogen wget gettext meson ninja ragel groff gtk-doc libtasn1 --overwrite
2021-12-31 23:52:22 +02: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
2023-09-10 12:03:35 +03:00
run: PATH="/usr/local/opt/bison/bin:$PATH" XML_CATALOG_FILES="/usr/local/etc/xml/catalog" ./tvos.sh -x --full --enable-gpl --disable-lib-srt --disable-lib-gnutls
2021-12-31 23:52:22 +02:00
- 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'
2023-09-10 12:03:35 +03:00
build-tvos-lts-on-macos-monterey:
name: tvos lts on monterey
runs-on: macos-12
2021-12-31 23:52:22 +02:00
strategy:
matrix:
2023-09-10 12:03:35 +03:00
xcode: [ '14.2' ]
2021-12-31 23:52:22 +02:00
branches: [ 'main', 'development' ]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
ref: ${{ matrix.branches }}
2022-01-03 11:45:25 +02:00
- name: prerequisites
2023-09-10 01:24:01 +03:00
run: brew install autoconf automake libtool pkg-config curl git doxygen nasm cmake gcc gperf texinfo yasm bison autogen wget gettext meson ninja ragel groff gtk-doc libtasn1 --overwrite
2021-12-31 23:52:22 +02: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
2023-09-10 12:03:35 +03:00
run: PATH="/usr/local/opt/bison/bin:$PATH" XML_CATALOG_FILES="/usr/local/etc/xml/catalog" ./tvos.sh -l --full --enable-gpl --disable-lib-srt --disable-lib-gnutls
2021-12-31 23:52:22 +02:00
- 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'