File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 2020 strategy :
2121 matrix :
2222 emscripten : ["3.1.8-unity", "3.1.38-unity"]
23- timeout-minutes : 30
23+ timeout-minutes : 120
2424 defaults :
2525 run :
2626 working-directory : InstantReplay.Externals/unienc/crates/unienc_c
3030 submodules : ' true'
3131 - run : git clone https://github.com/Unity-Technologies/emsdk.git
3232 working-directory : InstantReplay.Externals/unienc
33- - run : | # Install Pre-built Emscripten SDK
33+ - name : Install Pre-built Emscripten SDK
34+ run : |
3435 ./emsdk install latest
3536 ./emsdk activate latest
3637 ./emsdk install \
4445 # with:
4546 # path: InstantReplay.Externals/unienc/emsdk/llvm/git/build_main_64/bin
4647 # key: ${{ runner.os }}-llvm-${{ matrix.emscripten }}
47- - run : | # Build & Install LLVM
48+ - name : Build & Install LLVM
49+ run : |
4850 ./emsdk install \
4951 --override-repository llvm-git-main-64bit@https://github.com/Unity-Technologies/llvm-project/tree/${{ matrix.emscripten }} \
5052 llvm-git-main-64bit
5759 # with:
5860 # path: InstantReplay.Externals/unienc/emsdk/binaryen/main_64bit_binaryen
5961 # key: ${{ runner.os }}-binaryen-${{ matrix.emscripten }}
60- - run : | # Build & Install Binaryen
62+ - name : Build & Install Binaryen
63+ run : |
6164 ./emsdk install \
6265 --override-repository binaryen-main-64bit@https://github.com/Unity-Technologies/binaryen/tree/${{ matrix.emscripten }} \
6366 binaryen-main-64bit
6972 working-directory: InstantReplay.Externals/unienc/emsdk
7073 - run : rustup default stable
7174 - run : rustup target add wasm32-unknown-emscripten
72- - run : |
75+ - name : Build unienc
76+ run : |
7377 source ./emsdk/emsdk_env.sh
7478 cargo build --target wasm32-unknown-emscripten --profile ${{ env._RUST_BUILD_CONFIG == 'debug' && 'dev' || env._RUST_BUILD_CONFIG }}-wasm --no-default-features
7579 - uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments