Skip to content

Commit 93373a3

Browse files
committed
ci: manually point ANDROID_NDK_ROOT to latest supplied version
It seems the symlink to `ndk-bundle` and this environment variable pointing to it have been removed to prevent the sdkmanager from failing, when finding the SDK setup to be in an "indeterminate" state. It is now up to the users themselves to install an NDK through that tool or point the right variables to a preinstalled "latest" NDK. actions/runner-images#2689 actions/runner-images#5926
1 parent 5a0bad1 commit 93373a3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ jobs:
6767
targets: ${{ matrix.platform.target }}
6868
components: clippy
6969

70+
- name: Setup NDK path
71+
shell: bash
72+
# "Temporary" workaround until https://github.com/actions/virtual-environments/issues/5879#issuecomment-1195156618
73+
# gets looked into.
74+
run: echo "ANDROID_NDK_ROOT=$ANDROID_NDK_LATEST_HOME" >> $GITHUB_ENV
7075
- name: Install Linux dependencies
7176
if: (matrix.platform.os == 'ubuntu-latest')
7277
run: sudo apt-get update && sudo apt-get install pkg-config cmake libfreetype6-dev libfontconfig1-dev

0 commit comments

Comments
 (0)