Skip to content

Commit

Permalink
Add wasm builds to CI (#488)
Browse files Browse the repository at this point in the history
* Add wasm builds to CI

* fix working dir

* build jolt-core for wasm instead of jolt-sdk
  • Loading branch information
sagar-a16z authored Oct 24, 2024
1 parent 19b9109 commit 31a7c2f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,18 @@ jobs:
- name: cargo machete
run: cargo machete --with-metadata

build-wasm:
name: Build Wasm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install wasm32 target
run: rustup target add wasm32-unknown-unknown
- name: Build Wasm
working-directory: ./jolt-core
run: cargo build --release --target wasm32-unknown-unknown

test:
runs-on: ubuntu-latest
steps:
Expand All @@ -64,6 +76,7 @@ jobs:
uses: taiki-e/install-action@nextest
- name: Run jolt-core tests
run: cargo nextest run --release -p jolt-core

on-chain:
name: Onchain Verifier Tests
runs-on: ubuntu-latest
Expand Down

0 comments on commit 31a7c2f

Please sign in to comment.