resolve build errors on nightly builds

pull/309/head
Taner Sener 4 years ago
parent 53b7504129
commit 326dd1b127
  1. 14
      .github/workflows/nightly-builds-android.yml
  2. 24
      .github/workflows/nightly-builds-apple.yml
  3. 2
      android/README.md

@ -1,4 +1,4 @@
name: nightly builds name: android nightly builds
on: on:
schedule: schedule:
@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
ndk-version: [ 'r23b-linux' ] ndk-version: [ 'r22b-linux-x86_64', 'r23b-linux' ]
branches: [ 'main', 'development' ] branches: [ 'main', 'development' ]
defaults: defaults:
run: run:
@ -24,6 +24,10 @@ jobs:
with: with:
distribution: 'adopt' distribution: 'adopt'
java-version: '8' java-version: '8'
- name: prerequisites
run: sudo apt-get install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget autopoint meson ninja-build ragel
- name: upgrade meson
run: pip install meson --upgrade
- name: set up android ndk - name: set up android ndk
run: | run: |
curl -s "https://dl.google.com/android/repository/android-ndk-${{ matrix.ndk-version }}.zip" -o ndk.zip curl -s "https://dl.google.com/android/repository/android-ndk-${{ matrix.ndk-version }}.zip" -o ndk.zip
@ -42,7 +46,7 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
strategy: strategy:
matrix: matrix:
ndk-version: [ 'r23b-linux' ] ndk-version: [ 'r22b-linux-x86_64', 'r23b-linux' ]
branches: [ 'main', 'development' ] branches: [ 'main', 'development' ]
defaults: defaults:
run: run:
@ -56,6 +60,10 @@ jobs:
with: with:
distribution: 'adopt' distribution: 'adopt'
java-version: '8' java-version: '8'
- name: prerequisites
run: sudo apt-get install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget autopoint meson ninja-build ragel
- name: upgrade meson
run: pip install meson --upgrade
- name: set up android ndk - name: set up android ndk
run: | run: |
curl -s "https://dl.google.com/android/repository/android-ndk-${{ matrix.ndk-version }}.zip" -o ndk.zip curl -s "https://dl.google.com/android/repository/android-ndk-${{ matrix.ndk-version }}.zip" -o ndk.zip

@ -19,10 +19,12 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
ref: ${{ matrix.branches }} ref: ${{ matrix.branches }}
- name: prerequisites
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja
- name: set up xcode - name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: run the build script - name: run the build script
run: ./ios.sh -x --full --enable-gpl --disable-lib-srt run: PATH="/usr/local/opt/bison/bin:$PATH" ./ios.sh -x --full --enable-gpl --disable-lib-srt
- name: print build logs - name: print build logs
if: ${{ always() }} if: ${{ always() }}
run: cat build.log run: cat build.log
@ -43,10 +45,12 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
ref: ${{ matrix.branches }} ref: ${{ matrix.branches }}
- name: prerequisites
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja
- name: set up xcode - name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: run the build script - name: run the build script
run: ./ios.sh -l --full --enable-gpl --disable-lib-srt run: PATH="/usr/local/opt/bison/bin:$PATH" ./ios.sh -l --full --enable-gpl --disable-lib-srt
- name: print build logs - name: print build logs
if: ${{ always() }} if: ${{ always() }}
run: cat build.log run: cat build.log
@ -67,10 +71,12 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
ref: ${{ matrix.branches }} ref: ${{ matrix.branches }}
- name: prerequisites
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja
- name: set up xcode - name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: run the build script - name: run the build script
run: ./macos.sh -x --full --enable-gpl --disable-lib-srt run: PATH="/usr/local/opt/bison/bin:$PATH" ./macos.sh -x --full --enable-gpl --disable-lib-srt
- name: print build logs - name: print build logs
if: ${{ always() }} if: ${{ always() }}
run: cat build.log run: cat build.log
@ -91,10 +97,12 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
ref: ${{ matrix.branches }} ref: ${{ matrix.branches }}
- name: prerequisites
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja
- name: set up xcode - name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: run the build script - name: run the build script
run: ./macos.sh -l --full --enable-gpl --disable-lib-srt run: PATH="/usr/local/opt/bison/bin:$PATH" ./macos.sh -l --full --enable-gpl --disable-lib-srt
- name: print build logs - name: print build logs
if: ${{ always() }} if: ${{ always() }}
run: cat build.log run: cat build.log
@ -115,10 +123,12 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
ref: ${{ matrix.branches }} ref: ${{ matrix.branches }}
- name: prerequisites
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja
- name: set up xcode - name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: run the build script - name: run the build script
run: ./tvos.sh -x --full --enable-gpl --disable-lib-srt run: PATH="/usr/local/opt/bison/bin:$PATH" ./tvos.sh -x --full --enable-gpl --disable-lib-srt
- name: print build logs - name: print build logs
if: ${{ always() }} if: ${{ always() }}
run: cat build.log run: cat build.log
@ -139,10 +149,12 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
ref: ${{ matrix.branches }} ref: ${{ matrix.branches }}
- name: prerequisites
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja
- name: set up xcode - name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: run the build script - name: run the build script
run: ./tvos.sh -l --full --enable-gpl --disable-lib-srt run: PATH="/usr/local/opt/bison/bin:$PATH" ./tvos.sh -l --full --enable-gpl --disable-lib-srt
- name: print build logs - name: print build logs
if: ${{ always() }} if: ${{ always() }}
run: cat build.log run: cat build.log

@ -22,7 +22,7 @@ external libraries enabled.
##### 2.1.1 Android Tools ##### 2.1.1 Android Tools
- Android SDK Build Tools - Android SDK Build Tools
- Android NDK r22b or later with LLDB and CMake - Android NDK r22b or later with LLDB and CMake (See [#292](https://github.com/tanersener/ffmpeg-kit/issues/292) if you want to use NDK r23b)
##### 2.1.2 Packages ##### 2.1.2 Packages

Loading…
Cancel
Save