Update config.yml

This commit is contained in:
Christian Schneppe 2020-05-07 23:13:08 +02:00 committed by GitHub
parent 5d4eed8154
commit 70380f3972
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,7 @@ jobs:
- restore_cache:
key: gradle-{{ checksum "build.gradle" }}-{{ checksum ".circleci/config.yml" }}
- run: export GRADLE_USER_HOME=$PWD/.gradle
- run: wget -O libs/libwebrtc-m81.aar https://www.pix-art.de/files/libwebrtc-m81.aar
- run: echo y | sdkmanager "platforms;android-$(sed -n 's,.*compileSdkVersion\s*\([0-9][0-9]*\).*,\1,p' build.gradle)" > /dev/null
- run: ./gradlew lintGitDebug
- save_cache:
@ -26,6 +27,7 @@ jobs:
- restore_cache:
key: android
- run: export GRADLE_USER_HOME=$PWD/.gradle
- run: wget -O libs/libwebrtc-m81.aar https://www.pix-art.de/files/libwebrtc-m81.aar
- run: echo y | sdkmanager "platforms;android-$(sed -n 's,.*compileSdkVersion\s*\([0-9][0-9]*\).*,\1,p' build.gradle)" > /dev/null
# build
- run: ./gradlew assembleGit
@ -44,6 +46,7 @@ jobs:
- restore_cache:
key: android
- run: export GRADLE_USER_HOME=$PWD/.gradle
- run: wget -O libs/libwebrtc-m81.aar https://www.pix-art.de/files/libwebrtc-m81.aar
- run: echo y | sdkmanager "platforms;android-$(sed -n 's,.*compileSdkVersion\s*\([0-9][0-9]*\).*,\1,p' build.gradle)" > /dev/null
# workaround for fdroid nightly circleci bug
- run: sed -i "s/os.getenv('CIRCLE_REPOSITORY_URL')/\"https:\/\/github.com\/kriztan\/Pix-Art-Messenger\"/" /usr/lib/python3/dist-packages/fdroidserver/nightly.py