Browse Source

[gha] use ndk 21.4.7075529

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/44/head
R4SAS 3 years ago
parent
commit
21a7200b34
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 10
      .github/workflows/android.yml

10
.github/workflows/android.yml

@ -23,12 +23,13 @@ jobs:
packages: | packages: |
build-tools;31.0.0 build-tools;31.0.0
platforms;android-31 platforms;android-31
ndk;23.1.7779620 ndk;21.4.7075529
cmake;3.18.1
cache: true cache: true
- name: Build required modules - name: Build required modules
run: | run: |
export ANDROID_SDK_ROOT=$ANDROID_HOME export ANDROID_SDK_ROOT=$ANDROID_HOME
export ANDROID_NDK_HOME=$ANDROID_HOME/ndk/23.1.7779620 export ANDROID_NDK_HOME=$ANDROID_HOME/ndk/21.4.7075529
pushd app/jni pushd app/jni
sed -i -e 's/d+2/d+0/' boost/build-android.sh sed -i -e 's/d+2/d+0/' boost/build-android.sh
./build_boost.sh ./build_boost.sh
@ -61,12 +62,13 @@ jobs:
uses: maxim-lobanov/setup-android-tools@v1 uses: maxim-lobanov/setup-android-tools@v1
with: with:
packages: | packages: |
ndk;23.1.7779620 ndk;21.4.7075529
cmake;3.18.1
cache: true cache: true
- name: Build required modules - name: Build required modules
run: | run: |
export ANDROID_SDK_ROOT=$ANDROID_HOME export ANDROID_SDK_ROOT=$ANDROID_HOME
export ANDROID_NDK_HOME=$ANDROID_HOME/ndk/23.1.7779620 export ANDROID_NDK_HOME=$ANDROID_HOME/ndk/21.4.7075529
pushd binary/jni pushd binary/jni
sed -i -e 's/d+2/d+0/' boost/build-android.sh sed -i -e 's/d+2/d+0/' boost/build-android.sh
./build_boost.sh ./build_boost.sh

Loading…
Cancel
Save