File tree Expand file tree Collapse file tree 1 file changed +33
-2
lines changed Expand file tree Collapse file tree 1 file changed +33
-2
lines changed Original file line number Diff line number Diff line change @@ -180,8 +180,8 @@ jobs:
180
180
with :
181
181
command : clippy
182
182
args : --target aarch64-unknown-linux-gnu --workspace --all-targets --all-features -- -D warnings
183
- bench :
184
- name : Benchmarks
183
+ bench-stable :
184
+ name : Benchmarks stable
185
185
runs-on : ubuntu-latest
186
186
env :
187
187
CXX : clang++
@@ -199,6 +199,37 @@ jobs:
199
199
with :
200
200
command : fmt
201
201
args : --manifest-path bench/Cargo.toml --all -- --check
202
+ - name : Build all targets
203
+ uses : actions-rs/cargo@v1
204
+ with :
205
+ command : bench
206
+ args : --manifest-path bench/Cargo.toml --workspace --no-run --all-targets
207
+ - name : Run Clippy linter
208
+ uses : actions-rs/cargo@v1
209
+ with :
210
+ command : clippy
211
+ args : --manifest-path bench/Cargo.toml --workspace --all-targets -- -D warnings
212
+ bench-nightly :
213
+ name : Benchmarks nightly
214
+ runs-on : ubuntu-latest
215
+ env :
216
+ CXX : clang++
217
+ LLVM_CONFIG_PATH : /usr/lib/llvm-12/bin/llvm-config
218
+ steps :
219
+ - uses : actions/checkout@v3
220
+ with :
221
+ submodules : true
222
+ - name : Install nightly toolchain
223
+ uses : actions-rs/toolchain@v1
224
+ with :
225
+ toolchain : nightly
226
+ override : true
227
+ components : clippy, rustfmt
228
+ - name : Run rustfmt
229
+ uses : actions-rs/cargo@v1
230
+ with :
231
+ command : fmt
232
+ args : --manifest-path bench/Cargo.toml --all -- --check
202
233
- name : Build all targets
203
234
uses : actions-rs/cargo@v1
204
235
with :
You can’t perform that action at this time.
0 commit comments