Require complete Toolkit benchmarks before release
next-build / candidate (push) Successful in 4m47s

This commit is contained in:
2026-10-16 05:12:21 -06:00
parent d2457b5158
commit f2d777a484
4 changed files with 90 additions and 43 deletions
+6 -3
View File
@@ -38,6 +38,9 @@ jobs:
- name: Benchmark history checks
run: python3 ci/test-bench-history.py
- name: Benchmark suite checks
run: python3 ci/test-bench-badge.py
- name: Install build dependencies
run: |
apt-get update -qq
@@ -89,12 +92,12 @@ jobs:
- name: Microbenchmarks
run: |
# Capture the bench stdout for the weighted-average delta badge (round 19
# #1) while keeping the step a hard gate: pipefail preserves cargo's exit
# code (each bench asserts its own absolute ceiling) even through tee.
# Require every declared benchmark before publishing history or a release.
set -o pipefail
cargo test -p alkane-gui -p alkane-artifacts --release --offline -- --ignored --nocapture bench_ --test-threads=1 \
| tee bench-current.txt
python3 ci/bench-badge.py --current bench-current.txt \
--baseline badges/bench-baseline.json --no-write
- name: Record private benchmark history
env: