Skip to content

Commit

Permalink
fix gperf
Browse files Browse the repository at this point in the history
  • Loading branch information
authorisation authored Apr 14, 2024
1 parent aa087c0 commit 20e7301
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/android-build-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
java-version: '17'
- name: prerequisites
run: ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --uninstall "cmake;3.10.2.4988404" "cmake;3.18.1"
- name: set up android ndk
- name: set up make dependencies
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
sudo apt install gperf
- name: run the build script
run: ./android.sh -d -l --enable-gpl --disable-arm-v7a-neon --disable-x86 --disable-x86-64 --enable-lame --enable-libvorbis --enable-libwebp --enable-libxml2 --enable-openh264 --enable-opus --enable-x264

- name: print build logs
if: ${{ always() }}
run: cat build.log
Expand All @@ -54,11 +54,12 @@ jobs:
java-version: '17'
- name: prerequisites
run: ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --uninstall "cmake;3.10.2.4988404" "cmake;3.18.1"
- name: set up android ndk
- name: set up make dependencies
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
sudo apt install gperf
- name: run the build script
run: ./android.sh -d -l --enable-gpl --lts --disable-arm-v7a-neon --disable-x86 --disable-x86-64 --enable-lame --enable-libvorbis --enable-libwebp --enable-libxml2 --enable-openh264 --enable-opus --enable-x264
- name: print build logs
Expand All @@ -67,3 +68,4 @@ jobs:
- name: print ffbuild logs
if: ${{ failure() }}
run: '[[ -f ./src/ffmpeg/ffbuild/config.log ]] && tail -50 ./src/ffmpeg/ffbuild/config.log'

0 comments on commit 20e7301

Please sign in to comment.