Skip to content

Commit 83ada3d

Browse files
committed
CI/tests: run build-benches on ubuntu-22.04
1 parent e1398de commit 83ada3d

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
@@ -409,6 +409,41 @@ jobs:
409409
- name: Build WebAssembly node
410410
run: make build-wasm
411411

412+
build-benches:
413+
needs: [build]
414+
timeout-minutes: 60
415+
runs-on: ubuntu-22.04
416+
env:
417+
RUSTFLAGS: "-C overflow-checks=off -C debug-assertions=off ${{ inputs.rustflags }}"
418+
steps:
419+
- name: Git checkout
420+
uses: actions/checkout@v5
421+
422+
- name: Setup build dependencies
423+
uses: ./.github/actions/setup-build-deps
424+
with:
425+
include-sqlite: true
426+
427+
- name: Use shared OCaml setting up steps
428+
uses: ./.github/actions/setup-ocaml
429+
with:
430+
ocaml_version: ${{ env.OCAML_VERSION }}
431+
432+
- name: Setup Rust
433+
uses: ./.github/actions/setup-rust
434+
with:
435+
toolchain: 1.84
436+
cache-prefix: build-${{ inputs.os }}-${{ inputs.cache-prefix }}v0
437+
438+
- name: Setup SQLite database for SQLx
439+
run: |
440+
sqlite3 /tmp/heartbeats.db < tools/heartbeats-processor/schema.sql
441+
442+
- name: Build benchmarks
443+
run: make build-benches
444+
env:
445+
DATABASE_URL: "sqlite:///tmp/heartbeats.db"
446+
412447
p2p-scenario-tests:
413448
needs: [build-tests, build-tests-webrtc]
414449
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)