Skip to content

Commit 2e14554

Browse files
committed
Add github actions to cover wasm sources.
1 parent 9f5bed0 commit 2e14554

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/cargo.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
on:
2+
pull_request:
3+
branches: [master]
4+
push:
5+
branches: [master]
6+
workflow_dispatch:
7+
8+
name: WASM tests
9+
10+
defaults:
11+
run:
12+
working-directory: ./wasm-mappings
13+
14+
jobs:
15+
build_and_test:
16+
name: WASM mappings
17+
runs-on: ubuntu-latest
18+
strategy:
19+
matrix:
20+
toolchain: [stable, beta, nightly]
21+
job: [test, bench, wasm]
22+
exclude:
23+
- toolchain: stable
24+
job: bench
25+
- toolchain: stable
26+
job: wasm
27+
- toolchain: beta
28+
job: bench
29+
- toolchain: beta
30+
job: wasm
31+
steps:
32+
- uses: actions/checkout@v2
33+
- uses: actions-rs/toolchain@v1
34+
with:
35+
toolchain: ${{ matrix.toolchain }}
36+
override: true
37+
default: true
38+
- run: JOB=${{ matrix.job }} ./ci/script.sh

0 commit comments

Comments
 (0)