-
Notifications
You must be signed in to change notification settings - Fork 64
34 lines (34 loc) · 1.03 KB
/
test.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
on: [push, pull_request]
name: test
jobs:
test:
name: test ${{ matrix.toolchain }} ${{ matrix.profile.name }} ${{ matrix.crates.name }} ${{ matrix.crates.feat }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path=${{ matrix.crates.name }}/Cargo.toml ${{ matrix.profile.flag }} --no-default-features --features=${{ matrix.crates.feat }}
strategy:
fail-fast: false
matrix:
toolchain:
- 1.70.0
- stable
- beta
- nightly
crates:
- {name: ciborium-ll}
- {name: ciborium}
- {name: ciborium, feat: std}
- {name: ciborium-io}
- {name: ciborium-io, feat: alloc}
- {name: ciborium-io, feat: std}
profile:
- {name: debug}
- {name: release, flag: --release}