Skip to content

fix: update runner and xcode #4

fix: update runner and xcode

fix: update runner and xcode #4

Workflow file for this run

name: ios build
on:
workflow_dispatch:
push:
tags:
- '*'
jobs:
build-ios-main-on-macos:
name: ios main
runs-on: macos-15
strategy:
matrix:
xcode: [ '16.3' ]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- 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 --full --enable-gpl --enable-libvidstab --enable-x264 --enable-x265 --enable-xvidcore
- name: package zip
working-directory: ./prebuilt/bundle-apple-xcframework-ios/
run: zip -r ffmpegkit-bundled.xcframework.zip *
- name: Upload Release Asset (.integrity)
id: upload-release-asset-integrity
uses: ncipollo/release-action@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
allowUpdates: true
artifacts: "prebuilt/bundle-apple-xcframework-ios/ffmpegkit-bundled.xcframework.zip"
omitBodyDuringUpdate: true
omitNameDuringUpdate: true
prerelease: true
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'