Skip to content

Commit

Permalink
chore(ci): set msrv for wasm tools on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-roslaniec committed Aug 31, 2023
1 parent 7002548 commit bb07377
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ on:
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
WASM_PACK_VERSION: 0.12.0
WASM_OPT_VERSION: 0.114.1

jobs:
check:
Expand Down Expand Up @@ -94,7 +96,7 @@ jobs:
strategy:
matrix:
rust:
- 1.67 # MSRV, `cargo msrv`
- 1.71 # MSRV for wasm-opt & wasm-pack
- stable
target:
- wasm32-unknown-unknown
Expand All @@ -106,7 +108,7 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo install wasm-pack
- run: cargo install wasm-opt@${{ env.WASM_OPT_VERSION }} wasm-pack@${{ env.WASM_PACK_VERSION }}
- run: wasm-pack test --node
working-directory: ferveo-wasm

Expand All @@ -126,7 +128,7 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo install wasm-pack
- run: cargo install wasm-opt@${{ env.WASM_OPT_VERSION }} wasm-pack@${{ env.WASM_PACK_VERSION }}
- run: wasm-pack build --target nodejs
working-directory: ferveo-wasm
- uses: borales/[email protected]
Expand Down

0 comments on commit bb07377

Please sign in to comment.