parent
77ac41aaa4
commit
cb8d700741
@ -1,25 +1,29 @@ |
||||
language: android |
||||
language: java |
||||
jdk: openjdk8 |
||||
dist: xenial |
||||
before_install: |
||||
install: |
||||
- curl https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip --output $HOME/android-sdk.zip |
||||
- unzip -qq $HOME/android-sdk.zip -d $HOME/android-sdk |
||||
- export ANDROID_SDK_HOME=$HOME/android-sdk |
||||
- export ANDROID_NDK_HOME=$ANDROID_SDK_HOME/ndk-bundle |
||||
- function installAndroidComponent() { yes | ${ANDROID_SDK_HOME}/tools/bin/sdkmanager $1 > /dev/null; } |
||||
- installAndroidComponent "ndk-bundle" |
||||
- installAndroidComponent "patcher;v4" |
||||
- installAndroidComponent "cmake;3.10.2.4988404" |
||||
# Keeping track of the NDK version that was used |
||||
- cat $ANDROID_NDK_HOME/source.properties |
||||
# Installing meson for libdav1d building |
||||
- sudo apt-get update |
||||
- sudo apt-get upgrade |
||||
- sudo apt-get install dpkg |
||||
- sudo apt-get install python3.5 python3-pip python3-setuptools python3-wheel ninja-build |
||||
- sudo rm /usr/bin/python3 |
||||
- sudo ln -s /usr/bin/python3.5 /usr/bin/python3 |
||||
- curl http://archive.ubuntu.com/ubuntu/pool/universe/n/nasm/nasm_2.13.02-0.1_amd64.deb --output nasm_2.13.02-0.1_amd64.deb |
||||
- sudo dpkg -i nasm_2.13.02-0.1_amd64.deb |
||||
# - sudo apt-get update |
||||
# - sudo apt-get upgrade |
||||
# - sudo apt-get install dpkg |
||||
# - sudo apt-get install python3.5 python3-pip python3-setuptools python3-wheel ninja-build |
||||
# - sudo rm /usr/bin/python3 |
||||
# - sudo ln -s /usr/bin/python3.5 /usr/bin/python3 |
||||
# - curl http://archive.ubuntu.com/ubuntu/pool/universe/n/nasm/nasm_2.13.02-0.1_amd64.deb --output nasm_2.13.02-0.1_amd64.deb |
||||
# - sudo dpkg -i nasm_2.13.02-0.1_amd64.deb |
||||
# - curl http://archive.ubuntu.com/ubuntu/pool/universe/n/ninja-build/ninja-build_1.5.1-0.1ubuntu1_amd64.deb --output ninja-build_1.5.1-0.1ubuntu1_amd64.deb |
||||
# - sudo dpkg -i ninja-build_1.5.1-0.1ubuntu1_amd64.deb |
||||
- sudo pip3 install meson |
||||
# - sudo pip3 install meson |
||||
# Installing the ndk and assembling the FFmpeg |
||||
- yes | sdkmanager "ndk-bundle" |
||||
- yes | sdkmanager "patcher;v4" |
||||
- yes | sdkmanager "cmake;3.10.2.4988404" |
||||
- export ANDROID_SDK_HOME=/usr/local/android-sdk |
||||
- export ANDROID_NDK_HOME=$ANDROID_SDK_HOME/ndk-bundle |
||||
# Keeping track of the NDK version that was used |
||||
- cat $ANDROID_NDK_HOME/source.properties |
||||
script: |
||||
- bash -e ffmpeg-android-maker.sh --enable-libdav1d --enable-libmp3lame --enable-libaom |
||||
- bash -e ffmpeg-android-maker.sh # --enable-libdav1d --enable-libmp3lame --enable-libaom |
||||
|
Loading…
Reference in new issue