parent
b6ae6c1fe1
commit
6aaaf717a9
|
@ -11,8 +11,6 @@ on:
|
|||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
ANDROID_SDK_ROOT: /usr/local/lib/android/sdk
|
||||
ANDROID_NDK_HOME: /usr/local/lib/android/sdk/ndk/21.4.7075529
|
||||
|
||||
jobs:
|
||||
check_compilation:
|
||||
|
@ -56,6 +54,13 @@ jobs:
|
|||
- name: Install cargo-ndk
|
||||
if: ${{ matrix.platform == 'android' }}
|
||||
run: cargo install cargo-ndk
|
||||
- name: Install NDK 21
|
||||
if: ${{ matrix.platform == 'android' }}
|
||||
run: |
|
||||
ANDROID_ROOT=/usr/local/lib/android
|
||||
ANDROID_SDK_ROOT=${ANDROID_ROOT}/sdk
|
||||
SDKMANAGER=${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager
|
||||
echo "y" | $SDKMANAGER "ndk;21.4.7075529"
|
||||
- uses: actions-rs/cargo@v1
|
||||
if: ${{ matrix.platform == 'android' }}
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue