Skip to content

Commit d7eb8ee

Browse files
committed
CI/tests: run build-benches on ubuntu-22.04
1 parent 2092f38 commit d7eb8ee

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,41 @@ jobs:
352352
- name: Build WebAssembly node
353353
run: make build-wasm
354354

355+
build-benches:
356+
needs: [build]
357+
timeout-minutes: 60
358+
runs-on: ubuntu-22.04
359+
env:
360+
RUSTFLAGS: "-C overflow-checks=off -C debug-assertions=off ${{ inputs.rustflags }}"
361+
steps:
362+
- name: Git checkout
363+
uses: actions/checkout@v5
364+
365+
- name: Setup build dependencies
366+
uses: ./.github/actions/setup-build-deps
367+
with:
368+
include-sqlite: true
369+
370+
- name: Use shared OCaml setting up steps
371+
uses: ./.github/actions/setup-ocaml
372+
with:
373+
ocaml_version: ${{ inputs.ocaml_version }}
374+
375+
- name: Setup Rust
376+
uses: ./.github/actions/setup-rust
377+
with:
378+
toolchain: 1.84
379+
cache-prefix: build-${{ inputs.os }}-${{ inputs.cache-prefix }}v0
380+
381+
- name: Setup SQLite database for SQLx
382+
run: |
383+
sqlite3 /tmp/heartbeats.db < tools/heartbeats-processor/schema.sql
384+
385+
- name: Build benchmarks
386+
run: make build-benches
387+
env:
388+
DATABASE_URL: "sqlite:///tmp/heartbeats.db"
389+
355390
p2p-scenario-tests:
356391
needs: [build-tests, build-tests-webrtc]
357392
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)