diff --git a/.github/workflows/build-revive-wasm.yml b/.github/workflows/build-revive-wasm.yml index 6e8f5e5..e47adba 100644 --- a/.github/workflows/build-revive-wasm.yml +++ b/.github/workflows/build-revive-wasm.yml @@ -52,8 +52,7 @@ jobs: - name: Build LLVM if: steps.cache-llvm.outputs.cache-hit != 'true' run: | - export LLVM_LINK_PREFIX==${PWD}/llvm18.0-emscripten - source ./emsdk/emsdk_env.sh + export EMSDK_ROOT=${PWD}/emsdk ./emscripten-build-llvm.sh - name: Use Cached LLVM @@ -61,6 +60,12 @@ jobs: run: | echo "Using cached LLVM" + - name: Build revive + run: | + export LLVM_LINK_PREFIX=${PWD}/llvm18.0-emscripten + source ./emsdk/emsdk_env.sh + make install-wasm + - uses: actions/upload-artifact@v4 with: name: revive-wasm