File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,19 @@ name: Continuous Integration Checks
2
2
3
3
on : [push, pull_request]
4
4
5
+ concurrency :
6
+ group : ${{ github.workflow }}-${{ github.ref }}
7
+ cancel-in-progress : true
8
+
5
9
jobs :
6
10
build :
7
11
strategy :
8
12
matrix :
13
+ platform : [
14
+ ubuntu-latest,
15
+ macos-latest,
16
+ windows-latest,
17
+ ]
9
18
toolchain : [
10
19
stable,
11
20
beta,
15
24
- toolchain : stable
16
25
check-fmt : true
17
26
build-uniffi : true
27
+ platform : ubuntu-latest
28
+ - toolchain : stable
29
+ platform : macos-latest
30
+ - toolchain : stable
31
+ platform : windows-latest
18
32
- toolchain : 1.63.0
19
33
msrv : true
20
- runs-on : ubuntu-latest
34
+ runs-on : ${{ matrix.platform }}
21
35
steps :
22
36
- name : Checkout source code
23
37
uses : actions/checkout@v3
44
58
if : matrix.build-uniffi
45
59
run : cargo check --release --features uniffi --verbose --color always
46
60
- name : Test on Rust ${{ matrix.toolchain }}
61
+ if : " matrix.platform != 'windows-latest'"
47
62
run : cargo test
48
63
- name : Test with UniFFI support on Rust ${{ matrix.toolchain }}
49
- if : matrix.build-uniffi
64
+ if : " matrix.platform != 'windows-latest' && matrix. build-uniffi"
50
65
run : cargo test --features uniffi
51
66
- name : Check formatting on Rust ${{ matrix.toolchain }}
52
67
if : matrix.check-fmt
You can’t perform that action at this time.
0 commit comments