Skip to content

Commit

Permalink
[CI] Test wamsbind
Browse files Browse the repository at this point in the history
  • Loading branch information
pitdicker committed Jun 6, 2023
1 parent b546e71 commit 546f029
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/test.yml
Expand Up @@ -117,7 +117,6 @@ jobs:
os: [ubuntu-latest]
target:
[
wasm32-unknown-unknown,
wasm32-wasi,
wasm32-unknown-emscripten,
aarch64-apple-ios,
Expand All @@ -130,19 +129,11 @@ jobs:
with:
targets: ${{ matrix.target }}
- uses: Swatinem/rust-cache@v2
- uses: actions/setup-node@v3
with:
node-version: "12"
- run: |
set -euxo pipefail
export RUST_BACKTRACE=1
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf \
| bash --noprofile --norc
wasm-pack --version
shell: bash
- run: cargo build --target ${{ matrix.target }} --color=always

features_check_wasm:
test_wasm:
strategy:
matrix:
os: [ubuntu-latest]
Expand All @@ -154,10 +145,9 @@ jobs:
targets: wasm32-unknown-unknown
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
- run: |
cargo hack check --feature-powerset --optional-deps serde,rkyv \
--skip default --skip __internal_bench --skip __doctest \
--skip iana-time-zone --skip pure-rust-locales
- uses: actions/setup-node@v3
- uses: jetli/wasm-pack-action@v0.4.0
- run: TZ="$(date +%z)" NOW="$(date +%s)" wasm-pack test --node -- --features wasmbind

cross-targets:
strategy:
Expand Down

0 comments on commit 546f029

Please sign in to comment.