V3.5.2 CI Android NDK set version to 21 (#11448)

* specify android ndk version (#11425)

* ndk 21 (#11432)

* fix unit test
This commit is contained in:
江战
2022-06-10 10:31:49 +08:00
committed by GitHub
parent 2a823d182c
commit 78dfe5b00c
6 changed files with 71 additions and 3 deletions
@@ -13,7 +13,14 @@ jobs:
run: |
EXT_VERSION=`grep version native/external-config.json |awk -F'"' '{print $4}'`
git clone --branch $EXT_VERSION --depth 1 https://github.com/cocos-creator/engine-native-external native/external
- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r21e
add-to-path: false
- name: Generate bindings
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
run: |
python3 -m pip install PyYAML==5.4.1 Cheetah3
python3 ./native/tools/tojs/genbindings.py