Skip to content

Commit 65a5445

Browse files
committed
ops(CI): add benchmark CI job
1 parent 1bf264a commit 65a5445

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

.github/workflows/build.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Build and Lints
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["*"]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Build
19+
run: cargo build --verbose
20+
- name: Clippy
21+
run: cargo clippy -- -D clippy::all

.github/workflows/rust.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Rust
1+
name: Tests and Benchmarks
22

33
on:
44
push:
@@ -15,9 +15,7 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v4
18-
- name: Build
19-
run: cargo build --verbose
20-
- name: Clippy
21-
run: cargo clippy -- -D clippy::all
2218
- name: Run tests
2319
run: cargo test --verbose
20+
- name: Run benchmarks
21+
run: cargo bench -F benches

0 commit comments

Comments
 (0)