Set Github workflow NDK path explicitly

Change-Id: I31115293f4a80ca15a7520814055ee1268d2970f
This commit is contained in:
Sergiu Deitsch
2022-07-30 16:32:01 +02:00
parent 68c53bb395
commit 1cf59f61eb
+10
View File
@@ -46,6 +46,16 @@ jobs:
ccache \
ninja-build
# Ensure the declared NDK version is always installed even if it's removed
# from the virtual environment.
- name: Setup NDK
env:
ANDROID_NDK_VERSION: 23.2.8568313
ANDROID_SDK_ROOT: /usr/local/lib/android/sdk
run: |
echo 'y' | ${{env.ANDROID_SDK_ROOT}}/cmdline-tools/latest/bin/sdkmanager --install 'ndk;${{env.ANDROID_NDK_VERSION}}'
echo "ANDROID_NDK_ROOT=${{env.ANDROID_SDK_ROOT}}/ndk/${{env.ANDROID_NDK_VERSION}}" >> $GITHUB_ENV
- name: Cache Eigen
id: cache-eigen
uses: actions/cache@v2