ci: install NDK and CMake for native E2EE module build
NDK and CMake were missing from sdkmanager install, causing the native rosetta_e2ee.so to not be compiled in CI builds.
This commit is contained in:
@@ -45,7 +45,7 @@ jobs:
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/android-sdk
|
||||
key: android-sdk-34
|
||||
key: android-sdk-34-ndk26
|
||||
|
||||
- name: Install Android SDK
|
||||
run: |
|
||||
@@ -67,7 +67,9 @@ jobs:
|
||||
"$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager" \
|
||||
"platforms;android-34" \
|
||||
"build-tools;34.0.0" \
|
||||
"platform-tools"
|
||||
"platform-tools" \
|
||||
"ndk;26.1.10909125" \
|
||||
"cmake;3.22.1"
|
||||
echo "ANDROID_HOME=$ANDROID_HOME" >> $GITHUB_ENV
|
||||
echo "ANDROID_SDK_ROOT=$ANDROID_HOME" >> $GITHUB_ENV
|
||||
|
||||
|
||||
Reference in New Issue
Block a user