Go back to dist #53
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build-wasm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
sudo apt update | |
sudo apt install clang llvm gcc-multilib -y | |
export CC=clang | |
export CXX=clang++ | |
- run: rustup target add wasm32-wasip1 | |
- uses: oven-sh/setup-bun@v2 | |
- run: bun install | |
- run: | | |
mkdir dist | |
bun run build --target wasm32-wasip1 | |
ls -al . | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: dist |