mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-03 17:42:41 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user