android: Slightly increase NDK version

This version was installed in the base image until Aug 1st (the other we
installed was not actually used for a while).
This commit is contained in:
Tobias Brunner
2022-08-18 09:42:34 +02:00
parent 47fd5ab6b5
commit 71b0c031c2
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -29,11 +29,11 @@ jobs:
# since the NDK is newly installed every time, we have to use this to avoid cache misses # since the NDK is newly installed every time, we have to use this to avoid cache misses
CCACHE_COMPILERCHECK: content CCACHE_COMPILERCHECK: content
steps: steps:
# even though we don't specify a specific version in our gradle files, the # we currently don't specify a specific NDK version in our gradle files,
# build fails without this because some arbitrary NDK version, that's # so we load the version the Gradle Plugin uses as default but which is
# weirdly not installed, is requested # not installed anymore in the image
- name: Install NDK - name: Install NDK
run: yes | sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install 'ndk;21.0.6113669' run: yes | sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install 'ndk;21.4.7075529'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with:
+1 -1
View File
@@ -522,7 +522,7 @@ android)
rm -r strongswan-* rm -r strongswan-*
cd src/frontends/android cd src/frontends/android
echo "$ ./gradlew build" echo "$ ./gradlew build"
NDK_CCACHE=ccache ./gradlew build || exit $? NDK_CCACHE=ccache ./gradlew build --info || exit $?
;; ;;
*) *)
;; ;;