|
|
|
@ -132,3 +132,32 @@ jobs: |
|
|
|
|
- name: print ffbuild logs |
|
|
|
|
if: ${{ failure() }} |
|
|
|
|
run: '[[ -f ./src/ffmpeg/ffbuild/config.log ]] && tail -50 ./src/ffmpeg/ffbuild/config.log' |
|
|
|
|
build-main-without-ffmpeg-kit-protocols-on-linux: |
|
|
|
|
name: build without ffmpeg-kit protocols |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
strategy: |
|
|
|
|
matrix: |
|
|
|
|
ndk-version: [ 'r22b-linux-x86_64' ] |
|
|
|
|
defaults: |
|
|
|
|
run: |
|
|
|
|
shell: bash |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v2 |
|
|
|
|
- name: set up adopt jdk 8 |
|
|
|
|
uses: actions/setup-java@v2.2.0 |
|
|
|
|
with: |
|
|
|
|
distribution: 'adopt' |
|
|
|
|
java-version: '8' |
|
|
|
|
- name: set up android ndk |
|
|
|
|
run: | |
|
|
|
|
curl -s "https://dl.google.com/android/repository/android-ndk-${{ matrix.ndk-version }}.zip" -o ndk.zip |
|
|
|
|
unzip -q -o ndk.zip -d .ndk |
|
|
|
|
echo "ANDROID_NDK_ROOT=$PWD/.ndk/$(ls .ndk)" >> $GITHUB_ENV |
|
|
|
|
- name: run the build script |
|
|
|
|
run: ./android.sh --no-ffmpeg-kit-protocols --disable-x86 --disable-x86-64 --disable-arm-v7a --disable-arm-v7a-neon |
|
|
|
|
- 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' |
|
|
|
|