Skip to content

Commit 3559d83

Browse files
committed
CI/workflow: build-reusable - setup SQLite for SQLx
1 parent ccb0f4a commit 3559d83

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build-reusable.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ jobs:
150150

151151
- name: Setup build dependencies
152152
uses: ./.github/actions/setup-build-deps
153+
with:
154+
include-sqlite: true
153155

154156
- name: Use shared OCaml setting up steps
155157
uses: ./.github/actions/setup-ocaml
@@ -162,8 +164,14 @@ jobs:
162164
toolchain: ${{ env.RUST_STABLE_VERSION }}
163165
cache-prefix: build-${{ inputs.os }}-${{ inputs.cache-prefix }}v0
164166

167+
- name: Setup SQLite database for SQLx
168+
run: |
169+
sqlite3 /tmp/heartbeats.db < tools/heartbeats-processor/schema.sql
170+
165171
- name: Build benchmarks
166172
run: make build-benches
173+
env:
174+
DATABASE_URL: "sqlite:///tmp/heartbeats.db"
167175

168176
build-wasm:
169177
if: ${{ inputs.build-wasm }}

0 commit comments

Comments
 (0)