18
18
CARGO_HOME : ${{ github.workspace }}/.cargo
19
19
RUSTFLAGS : -D warnings -A unused-imports
20
20
RUSTDOCFLAGS : -D warnings
21
- RUST_BACKTRACE : ful
21
+ RUST_BACKTRACE : full
22
22
23
23
jobs :
24
24
rustfmt :
@@ -31,57 +31,113 @@ jobs:
31
31
- run : cargo fmt --all -- --check
32
32
33
33
unit-tests :
34
- name : Tests - ${{ matrix.os }} - ${{ matrix.toolchain }} - ${{ matrix.llvm[0] }} - ${{ matrix.features }}
34
+ name : ${{ matrix.basename }} - ${{ matrix.os }} - ${{ matrix.llvm[0] }} - ${{ matrix.features }}
35
35
runs-on : ${{ matrix.os }}
36
+ continue-on-error : ${{ matrix.experimental }}
36
37
strategy :
37
38
matrix :
38
39
llvm :
39
40
- ["15.0", "15-0"]
40
41
- ["16.0", "16-0"]
41
42
- ["17.0", "17-0"]
42
- - ["18.1", "18-1"]
43
43
toolchain :
44
44
- stable
45
45
os :
46
46
- ubuntu-latest
47
+ - macos-latest
47
48
features :
48
49
- " rayon cranelift"
50
+ experimental :
51
+ - false
52
+ tests :
53
+ - true
54
+ clippy :
55
+ - false
56
+ rustdoc :
57
+ - false
58
+ basename :
59
+ - Tests
60
+
49
61
include :
50
62
- toolchain : stable
51
- os : windows-latest
52
- llvm : " "
53
- features : " rayon cranelift"
63
+ os : ubuntu-latest
64
+ llvm : ["18.1", "18-1"]
65
+ features : " cranelift"
66
+ tests : true
67
+ clippy : false
68
+ rustdoc : false
69
+ experimental : true
70
+ basename : Tests
71
+
54
72
- toolchain : stable
55
73
os : macos-latest
56
- llvm : ["16.0", "16-0"]
74
+ llvm : ["18.1", "18-1"]
75
+ features : " cranelift"
76
+ tests : true
77
+ clippy : false
78
+ rustdoc : false
79
+ experimental : true
80
+ basename : Tests
81
+
82
+ - toolchain : stable
83
+ os : windows-latest
84
+ llvm : " "
57
85
features : " rayon cranelift"
58
- # - toolchain: stable
59
- # os: ubuntu-24.04-arm
60
- # llvm: ["16.0", "16-0"]
61
- # - toolchain: stable
62
- # os: macos-13
63
- # llvm: ["15.0", "15-0"]
86
+ tests : true
87
+ clippy : false
88
+ rustdoc : false
89
+ experimental : false
90
+ basename : Tests
91
+
64
92
- toolchain : beta
65
93
os : ubuntu-latest
66
94
llvm : ["16.0", "16-0"]
67
95
features : " rayon cranelift"
96
+ tests : true
97
+ clippy : false
98
+ rustdoc : false
99
+ experimental : true
100
+ basename : Beta
101
+
68
102
- toolchain : nightly
69
103
os : ubuntu-latest
70
104
llvm : ["16.0", "16-0"]
71
105
features : " rayon cranelift"
106
+ tests : true
107
+ clippy : false
108
+ rustdoc : false
109
+ experimental : true
110
+ basename : Nightly
111
+
72
112
- toolchain : stable
73
113
os : ubuntu-latest
74
114
llvm : " "
75
115
features : " "
116
+ tests : true
117
+ clippy : false
118
+ rustdoc : false
119
+ experimental : true
120
+ basename : Tests
121
+
76
122
- toolchain : stable
77
123
os : ubuntu-latest
78
- llvm : " "
79
- features : " rayon"
80
- - toolchain : stable
81
- os : ubuntu-latest
82
- llvm : " "
83
- features : " cranelift"
124
+ llvm : ["16.0", "16-0"]
125
+ features : " rayon cranelift"
126
+ tests : false
127
+ clippy : true
128
+ rustdoc : false
129
+ experimental : true
130
+ basename : Clippy
84
131
132
+ - toolchain : nightly
133
+ os : ubuntu-latest
134
+ llvm : ["16.0", "16-0"]
135
+ features : " rayon cranelift"
136
+ tests : false
137
+ clippy : false
138
+ rustdoc : true
139
+ experimental : true
140
+ basename : Rustdoc
85
141
86
142
87
143
steps :
@@ -117,16 +173,16 @@ jobs:
117
173
uses : mxschmitt/action-tmate@v3
118
174
if : ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
119
175
- name : Run tests (LLVM)
120
- if : matrix.llvm != ''
176
+ if : matrix.tests && matrix. llvm != ''
121
177
run : cargo test --verbose --features llvm${{ matrix.llvm[1] }} --features "${{ matrix.features }}"
122
178
- name : Run tests
123
- if : matrix.llvm == ''
179
+ if : matrix.tests && matrix. llvm == ''
124
180
run : cargo test --verbose --features "${{ matrix.features }}"
125
181
- name : Run Clippy (LLVM)
126
- if : matrix.toolchain == 'nightly'
182
+ if : matrix.clippy
127
183
run : cargo clippy --verbose --features llvm${{ matrix.llvm[1] }} --features "${{ matrix.features }}"
128
184
- name : Run Docs (LLVM)
129
- if : matrix.toolchain == 'nightly'
185
+ if : matrix.rustdoc
130
186
run : cargo rustdoc --features llvm${{ matrix.llvm[1] }} --features "${{ matrix.features }}"
131
187
book :
132
188
runs-on : ubuntu-latest
0 commit comments