File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments