Skip to content

Commit b3f3ef8

Browse files
committed
Added benchmarks to CI
1 parent 5e2a8c6 commit b3f3ef8

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/crypto-benchmarks-rs.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ on:
1111
- "crypto-benchmarks.rs/**"
1212

1313
jobs:
14-
crypto-benchmarks-rs-check:
14+
15+
crypto-benchmarks-rs-test:
1516
name: "Test"
1617
runs-on: ubuntu-22.04
1718
steps:
@@ -24,3 +25,17 @@ jobs:
2425
echo "Cargo test failed"
2526
exit 1
2627
fi
28+
29+
crypto-benchmarks-rs-benchmark:
30+
name: "Benchmark"
31+
runs-on: ubuntu-22.04
32+
steps:
33+
- uses: actions/checkout@v4
34+
- name: Test Rust packages
35+
working-directory: crypto-benchmarks.rs
36+
run: |
37+
cargo bench
38+
if [ $? -ne 0 ]; then
39+
echo "Cargo benchmarks failed"
40+
exit 1
41+
fi

0 commit comments

Comments
 (0)