Go back to old clang action #42
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 | |
- uses: egor-tensin/setup-clang@v1 | |
- run: | | |
clang --version | |
clang -print-targets | |
- run: rustup target add wasm32-wasip1 | |
- uses: oven-sh/setup-bun@v2 | |
- run: bun install | |
- run: | | |
bun run build --target wasm32-wasip1 | |
ls -al . | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: dist/ |