Skip to content

Commit 20a0450

Browse files
authored
Use NDK r21e (installed by prereqs script) for Android builds. (#986)
* Use NDK r21e (installed by prereqs script) for Android builds.
1 parent 7e50de8 commit 20a0450

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/android.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ jobs:
126126
shell: bash
127127
run: |
128128
build_scripts/android/install_prereqs.sh
129+
echo "NDK_ROOT=/tmp/android-ndk-r21e" >> $GITHUB_ENV
130+
echo "ANDROID_NDK_HOME=/tmp/android-ndk-r21e" >> $GITHUB_ENV
129131
130132
- name: Add strings.exe to PATH (Windows only)
131133
if: startsWith(matrix.os, 'windows')

.github/workflows/integration_tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,8 @@ jobs:
509509
shell: bash
510510
command: |
511511
build_scripts/android/install_prereqs.sh
512+
echo "NDK_ROOT=/tmp/android-ndk-r21e" >> $GITHUB_ENV
513+
echo "ANDROID_NDK_HOME=/tmp/android-ndk-r21e" >> $GITHUB_ENV
512514
pip install -r scripts/gha/requirements.txt
513515
python scripts/gha/restore_secrets.py --passphrase "${{ secrets.TEST_SECRET }}"
514516
- name: Fetch prebuilt packaged SDK from previous run

0 commit comments

Comments
 (0)