File tree Expand file tree Collapse file tree 1 file changed +29
-5
lines changed Expand file tree Collapse file tree 1 file changed +29
-5
lines changed Original file line number Diff line number Diff line change 4
4
cargo :
5
5
name : Cargo
6
6
runs-on : ubuntu-latest
7
- env :
8
- CXX : clang++
9
- LLVM_CONFIG_PATH : /usr/lib/llvm-9/bin/llvm-config
10
7
steps :
11
8
- uses : actions/checkout@v2
12
- with :
13
- submodules : true
14
9
- name : Install stable toolchain
15
10
uses : actions-rs/toolchain@v1
16
11
with :
50
45
with :
51
46
command : test
52
47
args : --workspace --all-features --target x86_64-unknown-linux-gnu -Zbuild-std
48
+ bench :
49
+ name : Benchmarks
50
+ runs-on : ubuntu-latest
51
+ env :
52
+ CXX : clang++
53
+ LLVM_CONFIG_PATH : /usr/lib/llvm-9/bin/llvm-config
54
+ steps :
55
+ - uses : actions/checkout@v2
56
+ with :
57
+ submodules : true
58
+ - name : Install stable toolchain
59
+ uses : actions-rs/toolchain@v1
60
+ with :
61
+ components : clippy, rustfmt
62
+ - name : Run rustfmt
63
+ uses : actions-rs/cargo@v1
64
+ with :
65
+ command : fmt
66
+ args : --manifest-path bench/Cargo.toml --all -- --check
67
+ - name : Build all targets
68
+ uses : actions-rs/cargo@v1
69
+ with :
70
+ command : bench
71
+ args : --manifest-path bench/Cargo.toml --workspace --no-run --all-targets --all-features
72
+ - name : Run Clippy linter
73
+ uses : actions-rs/cargo@v1
74
+ with :
75
+ command : clippy
76
+ args : --manifest-path bench/Cargo.toml --workspace --all-targets --all-features -- -D warnings
You can’t perform that action at this time.
0 commit comments