Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

Add Windows to test matrix, drop libsqlite3-dev dependency

Martin Vogel9b22c1180ca1
diff --git a/.github/workflows/dry-run.yml b/.github/workflows/dry-run.yml
index 56a333aa0..9e3e8883a 100644
--- a/.github/workflows/dry-run.yml
+++ b/.github/workflows/dry-run.yml
@@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- name: Install build deps
- run: sudo apt-get update && sudo apt-get install -y libsqlite3-dev zlib1g-dev cmake
+ run: sudo apt-get update && sudo apt-get install -y zlib1g-dev cmake
- name: Install LLVM 20
run: |
@@ -46,7 +46,8 @@ jobs:
# ── Step 2: Unit tests (ASan + UBSan) ───────────────────────
# macOS: use cc (Apple Clang) — GCC on macOS doesn't ship ASan runtime
# Linux: use system gcc — full ASan/UBSan support
- test:
+ # Windows: MSYS2 MinGW GCC
+ test-unix:
needs: [lint]
strategy:
fail-fast: false
@@ -74,14 +75,33 @@ jobs:
- name: Install deps (Ubuntu)
if: startsWith(matrix.os, 'ubuntu')
- run: sudo apt-get update && sudo apt-get install -y libsqlite3-dev zlib1g-dev
+ run: sudo apt-get update && sudo apt-get install -y zlib1g-dev
- name: Test
run: scripts/test.sh CC=${{ matrix.cc }} CXX=${{ matrix.cxx }}
+ test-windows:
+ needs: [lint]
+ runs-on: windows-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: msys2/setup-msys2@v2
+ with:
+ msystem: UCRT64
+ path-type: inherit
+ install: >-
+ mingw-w64-ucrt-x86_64-gcc
+ mingw-w64-ucrt-x86_64-zlib
+ make
+
+ - name: Test
+ shell: msys2 {0}
+ run: scripts/test.sh
+
# ── Step 3: Build binaries (standard + UI, all OS) ──────────
build-unix:
- needs: [test]
+ needs: [test-unix, test-windows]
strategy:
matrix:
include:
@@ -111,7 +131,7 @@ jobs:
- name: Install deps (Ubuntu)
if: startsWith(matrix.os, 'ubuntu')
- run: sudo apt-get update && sudo apt-get install -y libsqlite3-dev zlib1g-dev
+ run: sudo apt-get update && sudo apt-get install -y zlib1g-dev
- uses: actions/setup-node@v4
with:
@@ -139,7 +159,7 @@ jobs:
path: "*.tar.gz"
build-windows:
- needs: [test]
+ needs: [test-unix, test-windows]
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
@@ -150,7 +170,6 @@ jobs:
path-type: inherit
install: >-
mingw-w64-ucrt-x86_64-gcc
- mingw-w64-ucrt-x86_64-sqlite3
mingw-w64-ucrt-x86_64-zlib
make
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 45ab60825..801a60864 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v4
- name: Install build deps
- run: sudo apt-get update && sudo apt-get install -y libsqlite3-dev zlib1g-dev cmake
+ run: sudo apt-get update && sudo apt-get install -y zlib1g-dev cmake
- name: Install LLVM 20
run: |
@@ -60,7 +60,8 @@ jobs:
# ── Step 2: Unit tests (ASan + UBSan) ───────────────────────
# macOS: use cc (Apple Clang) — GCC on macOS doesn't ship ASan runtime
# Linux: use system gcc — full ASan/UBSan support
- test:
+ # Windows: MSYS2 MinGW GCC
+ test-unix:
needs: [lint]
strategy:
fail-fast: false
@@ -88,14 +89,33 @@ jobs:
- name: Install deps (Ubuntu)
if: startsWith(matrix.os, 'ubuntu')
- run: sudo apt-get update && sudo apt-get install -y libsqlite3-dev zlib1g-dev
+ run: sudo apt-get update && sudo apt-get install -y zlib1g-dev
- name: Test
run: scripts/test.sh CC=${{ matrix.cc }} CXX=${{ matrix.cxx }}
+ test-windows:
+ needs: [lint]
+ runs-on: windows-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: msys2/setup-msys2@v2
+ with:
+ msystem: UCRT64
+ path-type: inherit
+ install: >-
+ mingw-w64-ucrt-x86_64-gcc
+ mingw-w64-ucrt-x86_64-zlib
+ make
+
+ - name: Test
+ shell: msys2 {0}
+ run: scripts/test.sh
+
# ── Step 3: Build binaries (standard + UI, all OS) ──────────
build-unix:
- needs: [test]
+ needs: [test-unix, test-windows]
strategy:
matrix:
include:
@@ -125,7 +145,7 @@ jobs:
- name: Install deps (Ubuntu)
if: startsWith(matrix.os, 'ubuntu')
- run: sudo apt-get update && sudo apt-get install -y libsqlite3-dev zlib1g-dev
+ run: sudo apt-get update && sudo apt-get install -y zlib1g-dev
- uses: actions/setup-node@v4
with:
@@ -153,7 +173,7 @@ jobs:
path: "*.tar.gz"
build-windows:
- needs: [test]
+ needs: [test-unix, test-windows]
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
@@ -164,7 +184,6 @@ jobs:
path-type: inherit
install: >-
mingw-w64-ucrt-x86_64-gcc
- mingw-w64-ucrt-x86_64-sqlite3
mingw-w64-ucrt-x86_64-zlib
make