Skip to content

Compile Floretta to Wasm (#3) #48

Compile Floretta to Wasm (#3)

Compile Floretta to Wasm (#3) #48

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: cargo test
- run: cargo build --package=floretta-wasm --target=wasm32-unknown-unknown --release
- run: cp target/wasm32-unknown-unknown/release/floretta_wasm.wasm floretta.wasm
- run: .github/summary.py >> $GITHUB_STEP_SUMMARY
- uses: actions/upload-artifact@v4
with:
name: wasm
path: floretta.wasm