-
Notifications
You must be signed in to change notification settings - Fork 58
30 lines (30 loc) · 1012 Bytes
/
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
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@v4
- name: Install Rust
run: rustup toolchain install ${{ matrix.toolchain }}
- name: cargo test
run: cargo +${{ matrix.toolchain }} test --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}