You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.7 KiB
47 lines
1.7 KiB
name: apple nightly builds
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build-ios-main-on-macos:
|
|
name: ios main
|
|
runs-on: macos-13
|
|
strategy:
|
|
matrix:
|
|
xcode: [ '15.2' ]
|
|
branches: [ 'development' ]
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ matrix.branches }}
|
|
- name: prerequisites
|
|
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
|
|
- 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: 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
|
|
- name: package zip
|
|
working-directory: ./prebuilt/bundle-apple-xcframework-ios/
|
|
run: zip -r ffmpegkit.xcframework.zip ffmpegkit.xcframework
|
|
- name: Upload Release Asset (.integrity)
|
|
id: upload-release-asset-integrity
|
|
uses: ncipollo/release-action@v1
|
|
with:
|
|
allowUpdates: true
|
|
artifacts: "prebuilt/bundle-apple-xcframework-ios/ffmpegkit.xcframework.zip"
|
|
omitBodyDuringUpdate: true
|
|
omitNameDuringUpdate: true
|
|
draft: true
|
|
tag: nightly
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
- 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'
|
|
|
|
|