CI: Pin Android NDK r21 as we don't support r22 yet
This commit is contained in:
parent
1218441b16
commit
06613ed9a3
1 changed files with 6 additions and 1 deletions
7
.github/workflows/android_builds.yml
vendored
7
.github/workflows/android_builds.yml
vendored
|
@ -6,6 +6,7 @@ env:
|
|||
GODOT_BASE_BRANCH: master
|
||||
SCONSFLAGS: platform=android verbose=yes warnings=extra werror=yes --jobs=2 module_text_server_fb_enabled=yes
|
||||
SCONS_CACHE_LIMIT: 4096
|
||||
ANDROID_NDK_VERSION: 21.1.6352462
|
||||
|
||||
jobs:
|
||||
android-template:
|
||||
|
@ -28,6 +29,10 @@ jobs:
|
|||
with:
|
||||
java-version: 8
|
||||
|
||||
- name: Install Android NDK r21
|
||||
run: |
|
||||
sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install 'ndk;${{env.ANDROID_NDK_VERSION}}'
|
||||
|
||||
# Upload cache on completion and check it out now
|
||||
- name: Load .scons_cache directory
|
||||
id: android-template-cache
|
||||
|
@ -59,7 +64,7 @@ jobs:
|
|||
- name: Compilation
|
||||
env:
|
||||
SCONS_CACHE: ${{github.workspace}}/.scons_cache/
|
||||
ANDROID_NDK_ROOT: /usr/local/lib/android/sdk/ndk-bundle
|
||||
ANDROID_NDK_ROOT: /usr/local/lib/android/sdk/ndk/${{env.ANDROID_NDK_VERSION}}/
|
||||
run: |
|
||||
scons target=release tools=no android_arch=armv7
|
||||
scons target=release tools=no android_arch=arm64v8
|
||||
|
|
Loading…
Reference in a new issue