Skip to content

Commit

Permalink
add ci for wasm build
Browse files Browse the repository at this point in the history
  • Loading branch information
crwen committed Nov 6, 2024
1 parent 476c5dc commit b700322
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,36 @@ jobs:
with:
command: fmt
args: -- --check
wasm:
name: WASM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install latest
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy

- name: Setup for wasm32
run: |
rustup target add wasm32-unknown-unknown
- name: Run cargo build on fusio
uses: actions-rs/cargo@v1
with:
command: build
args: --target wasm32-unknown-unknown --package fusio --features=opfs

- name: Run cargo build on fusio-parquet
uses: actions-rs/cargo@v1
with:
command: build
args: --target wasm32-unknown-unknown --package fusio-parquet --features=opfs

- name: Run cargo build on fusio-dispatch
uses: actions-rs/cargo@v1
with:
command: build
args: --target wasm32-unknown-unknown --package fusio-dispatch --features=opfs

0 comments on commit b700322

Please sign in to comment.