0
0
mirror of https://github.com/signalapp/libsignal.git synced 2024-09-19 11:32:17 +02:00

CI: Install NDK for Android Emulator Slow Tests

We shouldn't be calling any actions that actually require it, but
Gradle doesn't know that for sure, and we probably shouldn't depend on
it anyway.
This commit is contained in:
Jordan Rose 2024-09-16 18:01:34 -07:00
parent 13c2d76f4c
commit a2702a1435

View File

@ -1,6 +1,8 @@
name: Slow Tests
env:
ANDROID_API_LEVEL: 21
ANDROID_NDK_VERSION: 27.0.12077973
LIBSIGNAL_TESTING_ENCLAVE_SECRET: ${{secrets.SVR_ENCLAVE_SECRET}}
LIBSIGNAL_TESTING_CDSI_ENCLAVE_SECRET: ${{secrets.CDSI_ENCLAVE_SECRET}}
RUST_LOG: debug
@ -163,7 +165,8 @@ jobs:
uses: reactivecircus/android-emulator-runner@6b0df4b0efb23bb0ec63d881db79aefbc976e4b2 # v2.30.1
with:
arch: ${{ matrix.arch }}
api-level: 21
api-level: ${{ env.ANDROID_API_LEVEL }}
ndk: ${{ env.ANDROID_NDK_VERSION }}
force-avd-creation: false
emulator-options: -no-window -noaudio -no-boot-anim
script: echo "Generated AVD snapshot for caching."
@ -172,7 +175,8 @@ jobs:
uses: reactivecircus/android-emulator-runner@6b0df4b0efb23bb0ec63d881db79aefbc976e4b2 # v2.30.1
with:
arch: ${{ matrix.arch }}
api-level: 21
api-level: ${{ env.ANDROID_API_LEVEL }}
ndk: ${{ env.ANDROID_NDK_VERSION }}
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -noaudio -no-boot-anim
script: ./gradlew android:connectedCheck -x makeJniLibrariesDesktop -x android:makeJniLibraries