Skip to content

Commit

Permalink
Add github actions to cover wasm sources.
Browse files Browse the repository at this point in the history
  • Loading branch information
ochameau committed Oct 19, 2022
1 parent aec646f commit 22bae06
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/cargo.yml
@@ -0,0 +1,38 @@
on:
pull_request:
branches: [master]
push:
branches: [master]
workflow_dispatch:

name: WASM tests

defaults:
run:
working-directory: ./wasm-mappings

jobs:
build_and_test:
name: WASM mappings
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [stable, beta, nightly]
job: [test, bench, wasm]
exclude:
- toolchain: stable
job: bench
- toolchain: stable
job: wasm
- toolchain: beta
job: bench
- toolchain: beta
job: wasm
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
override: true
default: true
- run: JOB=${{ matrix.job }} ./ci/script.sh

0 comments on commit 22bae06

Please sign in to comment.