install wasm-pack using pre-built binary to avoid c compiler dependency
Some checks failed
Podman Rootless Demo / test-backend (push) Has been skipped
Podman Rootless Demo / test-frontend (push) Has been skipped
Podman Rootless Demo / build-backend (push) Has been skipped
Podman Rootless Demo / build-frontend (push) Failing after 1m1s
Podman Rootless Demo / deploy-prod (push) Has been skipped

This commit is contained in:
continuist 2025-10-25 19:45:13 -04:00
parent 9d35c739ce
commit bb505df141

View file

@ -226,8 +226,11 @@ jobs:
echo '[net]' >> $HOME/.cargo/config.toml echo '[net]' >> $HOME/.cargo/config.toml
echo 'git-fetch-with-cli = true' >> $HOME/.cargo/config.toml echo 'git-fetch-with-cli = true' >> $HOME/.cargo/config.toml
# Install wasm-pack # Install wasm-pack using pre-built binary to avoid C compiler dependency
cargo install wasm-pack wget https://github.com/rustwasm/wasm-pack/releases/download/v0.13.1/wasm-pack-v0.13.1-x86_64-unknown-linux-musl.tar.gz
tar -xzf wasm-pack-v0.13.1-x86_64-unknown-linux-musl.tar.gz
mv wasm-pack-v0.13.1-x86_64-unknown-linux-musl/wasm-pack /usr/local/bin/
chmod +x /usr/local/bin/wasm-pack
- name: Build WASM module - name: Build WASM module
run: | run: |