Skip to content

Commit

Permalink
Merge pull request #81 from piotr-roslaniec/fix-wasm-pack
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-roslaniec authored Sep 4, 2023
2 parents a43b78d + 1f2e60f commit 7f8df14
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/nucypher-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ defaults:
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
WASM_PACK_VERSION: 0.12.0
WASM_OPT_VERSION: 0.114.1

jobs:

Expand Down Expand Up @@ -52,8 +50,8 @@ jobs:
strategy:
matrix:
rust:
- 1.71 # MSRV for wasm-opt & wasm-pack
# - stable
- 1.67 # MSRV
- stable
target:
- wasm32-unknown-unknown

Expand All @@ -65,7 +63,7 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo install wasm-opt@${{ env.WASM_OPT_VERSION }} wasm-pack@${{ env.WASM_PACK_VERSION }}
- run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- run: cd ../nucypher-core-wasm && wasm-pack test --node

yarn-test:
Expand All @@ -85,7 +83,7 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo install wasm-opt@${{ env.WASM_OPT_VERSION }} wasm-pack@${{ env.WASM_PACK_VERSION }}
- run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- run: make
working-directory: nucypher-core-wasm
- uses: borales/actions-yarn@v3.0.0
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7f8df14

Please sign in to comment.