Skip to content

Commit

Permalink
ci: Add wasm runner
Browse files Browse the repository at this point in the history
  • Loading branch information
felinira committed Nov 23, 2024
1 parent c0f884c commit 908da47
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
- Linux
- Windows
- macOS
- WASM
include:
- os: Linux
image: ubuntu-latest
Expand All @@ -87,6 +88,9 @@ jobs:
- os: macOS
image: macos-latest
target: aarch64-apple-darwin
- os: WASM
image: ubuntu-latest
target: wasm32-unknown-unknown
- channel: msrv
rust: ${{ needs.read_msrv.outputs.msrv }}
- channel: stable
Expand Down Expand Up @@ -114,6 +118,7 @@ jobs:
- name: build library (features=transfer)
run: cargo build -p magic-wormhole --target ${{ matrix.target }} --no-default-features --features=transfer
- name: build library (features=forwarding)
if: ${{ runner.os <> wasm }}
run: cargo build -p magic-wormhole --target ${{ matrix.target }} --no-default-features --features=forwarding
- name: build CLI
run: cargo build -p magic-wormhole-cli --target ${{ matrix.target }} --features=all
Expand Down

0 comments on commit 908da47

Please sign in to comment.