From 08dadb4faea4f2c7db72d8cbe765dfd5adecdeba Mon Sep 17 00:00:00 2001 From: Zeqiang Li Date: Fri, 21 Jan 2022 09:43:21 +0800 Subject: [PATCH] wgpu ci sdk update to latest (#4202) * wgpu ci * update emsdk to latest --- native/.github/workflows/compile-platforms.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/native/.github/workflows/compile-platforms.yml b/native/.github/workflows/compile-platforms.yml index a6ef4efc41..4ac021a104 100644 --- a/native/.github/workflows/compile-platforms.yml +++ b/native/.github/workflows/compile-platforms.yml @@ -240,13 +240,13 @@ jobs: run: | EXT_VERSION=`grep version external/config.json |awk -F'"' '{print $4}'` rm external/config.json - git clone --branch 3.4.1_wgpu_rebase --depth 1 https://github.com/hana-alice/engine-native-external external + git clone --branch $EXT_VERSION --depth 1 https://github.com/cocos-creator/engine-native-external external - name: Setup Emscripten run: | git clone https://github.com/emscripten-core/emsdk.git ../emsdk cd ../emsdk - ./emsdk install 2.0.26 - ./emsdk activate 2.0.26 + ./emsdk install latest + ./emsdk activate latest source ./emsdk_env.sh emcc -v - name: Compile @@ -257,4 +257,4 @@ jobs: cd $COCOS2DX_ROOT/cocos/renderer/gfx-wgpu $COCOS2DX_ROOT/../emsdk/upstream/emscripten/emcmake cmake . $COCOS2DX_ROOT/../emsdk/upstream/emscripten/emmake make - echo "Compile WGPU on MacOS Done!" \ No newline at end of file + echo "Compile WGPU by ems on MacOS Done!"