Skip to content

Commit 2684687

Browse files
committed
ci(bench-latency): pin sibling deps to v0.6.0/v0.7.0; wire t_bench_latency into benchtests
1 parent e8fcca9 commit 2684687

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/bench.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,14 @@ jobs:
187187
sudo apt-get -qq install -y clang
188188
189189
- name: Clone and install sibling Nim deps (nim-debra, nim-typestates)
190+
# Mirrors the bench-throughput job: pin to release tags (not
191+
# `main`) for deterministic CI; bump in lockstep with build.yml
192+
# and lockfreequeues.nimble's `requires`.
190193
run: |
191194
set -e
192195
cd ..
193-
git clone --depth 1 --branch main https://github.com/elijahr/nim-debra.git
194-
git clone --depth 1 --branch main https://github.com/elijahr/nim-typestates.git
196+
git clone --depth 1 --branch v0.6.0 https://github.com/elijahr/nim-debra.git
197+
git clone --depth 1 --branch v0.7.0 https://github.com/elijahr/nim-typestates.git
195198
(cd nim-typestates && nimble install -y)
196199
(cd nim-debra && nimble install -y)
197200

lockfreequeues.nimble

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ task benchtests, "Runs the bench harness test suite":
7070
# extend this task with additional `t_bench_*.nim` files as they
7171
# land.
7272
exec "nim c --threads:on -r -f tests/t_bench_common.nim"
73+
exec "nim c --threads:on -r -f tests/t_bench_latency.nim"
7374

7475

7576
task stresstests, "Runs the stress test suite (multi-threaded)":

0 commit comments

Comments
 (0)