-
Notifications
You must be signed in to change notification settings - Fork 10
45 lines (42 loc) · 984 Bytes
/
merge.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
42
43
44
45
name: Try this
on:
pull_request:
jobs:
check:
strategy:
fail-fast: false
matrix:
platform: [macos]
features:
- default
- with-tokio
toolchain:
- stable
- 1.51.0
- 1.52.0
- 1.53.0
- 1.54.0
- 1.55.0
- 1.56.0
- 1.57.0
- 1.58.0
- 1.59.0
- 1.60.0
- 1.61.0
- 1.62.0
- 1.63.0
- 1.64.0
- 1.65.0
name: "Test on ${{ matrix.platform }} with Rust ${{ matrix.toolchain }} (feat: ${{ matrix.features }})"
runs-on: "${{ matrix.platform }}-latest"
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: "${{ matrix.toolchain }}"
default: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --features ${{ matrix.features }}