ci: install the system SQLite in the .NET SDK container
CI / Build and test (pull_request) Successful in 5m59s
CI / Windows tests and installer (pull_request) Skipped
CI / YAML check (pull_request) Successful in 5s
CI / PostgreSQL 16 integration (pull_request) Failing after 6m56s
CI / PostgreSQL 17 integration (pull_request) Failing after 3m47s
CI / Docker image (pull_request) Successful in 1m56s

The Data and Server tests bind libsqlite3.so.0, which GitHub's runner had and
the SDK image does not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-10-23 11:43:34 +02:00
1 parent 5f27a86406
commit 7830fe46de
4 files changed
+17 -1

No files matched your search

+8
View File
@@ -39,6 +39,10 @@ jobs:
git checkout -q FETCH_HEAD
git log -1 --format='%h %s'
# Chronos.Data binds the system SQLite library (BRIEF §6.2), which the SDK image lacks.
- name: System SQLite
run: apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends libsqlite3-0 > /dev/null
- name: .NET info
run: dotnet --info
@@ -129,6 +133,10 @@ jobs:
git -c http.extraheader="Authorization: basic $(printf 'x-access-token:%s' "$TOKEN" | base64 -w0)" fetch -q --depth=1 origin "${{ github.sha }}"
git checkout -q FETCH_HEAD
# Chronos.Data binds the system SQLite library (BRIEF §6.2), which the SDK image lacks.
- name: System SQLite
run: apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends libsqlite3-0 > /dev/null
- name: Configure PostgreSQL (MD5, cleartext, trust, TLS)
run: |
dotnet run --project src/Chronos.Tools -c Release -- postgres-ci --connection "$CHRONOS_TEST_PG" --host postgres --certificates "$RUNNER_TEMP/pg-tls"
+4
View File
@@ -46,6 +46,10 @@ jobs:
git -c http.extraheader="Authorization: basic $(printf 'x-access-token:%s' "$TOKEN" | base64 -w0)" fetch -q --depth=1 origin "${{ github.sha }}"
git checkout -q FETCH_HEAD
# Chronos.Data binds the system SQLite library (BRIEF §6.2), which the SDK image lacks.
- name: System SQLite
run: apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends libsqlite3-0 > /dev/null
- name: Build
run: dotnet build tests/Chronos.Data.Tests -c Release -m:4
+4
View File
@@ -72,6 +72,10 @@ jobs:
git checkout -q "refs/tags/$TAG"
git log -1 --format='%h %s'
# Chronos.Data binds the system SQLite library (BRIEF §6.2), which the SDK image lacks.
- name: System SQLite
run: apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends libsqlite3-0 > /dev/null
- name: Release target
env:
HAS_RELEASES_TOKEN: ${{ secrets.RELEASES_TOKEN != '' }}