-
Notifications
You must be signed in to change notification settings - Fork 358
41 lines (38 loc) · 886 Bytes
/
cargo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
on:
pull_request:
branches: [master]
paths:
- wasm-mappings/**
- .github/workflows/cargo.yml
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