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:
@@ -15,8 +15,14 @@ jobs:
|
||||
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
|
||||
rm -rf native/external/.git
|
||||
|
||||
- uses: nttld/setup-ndk@v1
|
||||
id: setup-ndk
|
||||
with:
|
||||
ndk-version: r21e
|
||||
add-to-path: false
|
||||
- name: Run genbindings.py
|
||||
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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -22,8 +22,15 @@ jobs:
|
||||
run: |
|
||||
choco install --forcex86 vulkan-sdk
|
||||
python -m pip install PyYAML==5.4.1 Cheetah3
|
||||
- uses: nttld/setup-ndk@v1
|
||||
id: setup-ndk
|
||||
with:
|
||||
ndk-version: r21e
|
||||
add-to-path: false
|
||||
- name: Generate bindings
|
||||
shell: bash
|
||||
env:
|
||||
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
|
||||
run: |
|
||||
python -V
|
||||
cd ./native/tools/tojs
|
||||
@@ -63,7 +70,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
|
||||
@@ -123,7 +137,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: |
|
||||
python -m pip install PyYAML==5.4.1 Cheetah3
|
||||
python ./native/tools/tojs/genbindings.py
|
||||
@@ -176,7 +197,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: |
|
||||
python -m pip install PyYAML==5.4.1 Cheetah3
|
||||
python ./native/tools/tojs/genbindings.py
|
||||
@@ -230,7 +258,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: |
|
||||
python -m pip install PyYAML==5.4.1 Cheetah3
|
||||
python ./native/tools/tojs/genbindings.py
|
||||
|
||||
@@ -28,9 +28,16 @@ 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
|
||||
shell: bash
|
||||
env:
|
||||
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
|
||||
|
||||
run: |
|
||||
python -V
|
||||
cd ./native/tools/tojs
|
||||
|
||||
@@ -29,11 +29,18 @@ jobs:
|
||||
- name: install vulkan-sdk
|
||||
run: |
|
||||
choco install vulkan-sdk
|
||||
- uses: nttld/setup-ndk@v1
|
||||
id: setup-ndk
|
||||
with:
|
||||
ndk-version: r21e
|
||||
add-to-path: false
|
||||
- name: pip install
|
||||
run: |
|
||||
python -m pip install PyYAML==5.4.1 Cheetah3
|
||||
- name: generate bindings glue codes
|
||||
shell: bash
|
||||
env:
|
||||
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
|
||||
run: |
|
||||
python -V
|
||||
cd ./tools/tojs
|
||||
|
||||
@@ -20,9 +20,15 @@ jobs:
|
||||
npm install
|
||||
npm install gulp -g
|
||||
node ./utils/download-deps.js
|
||||
|
||||
- uses: nttld/setup-ndk@v1
|
||||
id: setup-ndk
|
||||
with:
|
||||
ndk-version: r21e
|
||||
add-to-path: false
|
||||
- name: Generate bindings
|
||||
shell: bash
|
||||
env:
|
||||
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
|
||||
run: |
|
||||
python -m pip install PyYAML==5.4.1 Cheetah3
|
||||
python ./tools/tojs/genbindings.py
|
||||
|
||||
Reference in New Issue
Block a user