diff --git a/.github/workflows/nightly-builds-android.yml b/.github/workflows/nightly-builds-android.yml index 7e7d844..8fcceb9 100644 --- a/.github/workflows/nightly-builds-android.yml +++ b/.github/workflows/nightly-builds-android.yml @@ -1,4 +1,4 @@ -name: nightly builds +name: android nightly builds on: schedule: @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - ndk-version: [ 'r23b-linux' ] + ndk-version: [ 'r22b-linux-x86_64', 'r23b-linux' ] branches: [ 'main', 'development' ] defaults: run: @@ -24,6 +24,10 @@ jobs: with: distribution: 'adopt' 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 run: | 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 strategy: matrix: - ndk-version: [ 'r23b-linux' ] + ndk-version: [ 'r22b-linux-x86_64', 'r23b-linux' ] branches: [ 'main', 'development' ] defaults: run: @@ -56,6 +60,10 @@ jobs: with: distribution: 'adopt' 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 run: | curl -s "https://dl.google.com/android/repository/android-ndk-${{ matrix.ndk-version }}.zip" -o ndk.zip diff --git a/.github/workflows/nightly-builds-apple.yml b/.github/workflows/nightly-builds-apple.yml index f84040f..48d1689 100644 --- a/.github/workflows/nightly-builds-apple.yml +++ b/.github/workflows/nightly-builds-apple.yml @@ -19,10 +19,12 @@ jobs: - uses: actions/checkout@v2 with: 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 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 -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 if: ${{ always() }} run: cat build.log @@ -43,10 +45,12 @@ jobs: - uses: actions/checkout@v2 with: 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 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 -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 if: ${{ always() }} run: cat build.log @@ -67,10 +71,12 @@ jobs: - uses: actions/checkout@v2 with: 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 run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh - 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 if: ${{ always() }} run: cat build.log @@ -91,10 +97,12 @@ jobs: - uses: actions/checkout@v2 with: 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 run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh - 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 if: ${{ always() }} run: cat build.log @@ -115,10 +123,12 @@ jobs: - uses: actions/checkout@v2 with: 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 run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh - 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 if: ${{ always() }} run: cat build.log @@ -139,10 +149,12 @@ jobs: - uses: actions/checkout@v2 with: 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 run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh - 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 if: ${{ always() }} run: cat build.log diff --git a/android/README.md b/android/README.md index ef14f61..7c14acb 100644 --- a/android/README.md +++ b/android/README.md @@ -22,7 +22,7 @@ external libraries enabled. ##### 2.1.1 Android 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