File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,24 +5,20 @@ name: Actions CI
55jobs :
66 build_and_test :
77 name : integer-encoding-rs
8- runs-on : ubuntu-latest
8+ strategy :
9+ features : ["tokio_async", "futures_async", ""]
10+ platform : [ubuntu-latest, windows-latest, macos-latest]
11+ runs-on : ${{ matrix.platform }}
912 steps :
1013 - uses : actions/checkout@v2
1114 - uses : actions-rs/toolchain@v1
1215 with :
1316 toolchain : stable
1417 - uses : actions-rs/cargo@v1
1518 with :
16- command : test
17- args : --features tokio_async
18- - uses : actions-rs/cargo@v1
19- with :
20- command : test
21- args : --features futures_async
19+ command : check
20+ args : --no-default-features --features=${{ matrix.features }}
2221 - uses : actions-rs/cargo@v1
2322 with :
2423 command : test
25- - uses : actions-rs/cargo@v1
26- with :
27- command : build
28- args : --examples
24+ args : --no-default-features --features=${{ matrix.features }}
You can’t perform that action at this time.
0 commit comments