Skip to content

fix: pass -Dbundle-sqlite=true to unit-test step in CI#137

Merged
vmvarela merged 1 commit intomasterfrom
issue-136/fix-unit-test-windows-sqlite
May 7, 2026
Merged

fix: pass -Dbundle-sqlite=true to unit-test step in CI#137
vmvarela merged 1 commit intomasterfrom
issue-136/fix-unit-test-windows-sqlite

Conversation

@vmvarela
Copy link
Copy Markdown
Owner

@vmvarela vmvarela commented May 7, 2026

Summary

  • zig build unit-test failed on Windows because xml.zig tests link against sqlite3, which has no system library on Windows
  • Adding -Dbundle-sqlite=true to the unit-test step makes it use the already-downloaded SQLite amalgamation, consistent with the build step
  • One-line change, no code impact on Linux/macOS

Closes #136

On Windows there is no system sqlite3 library, so xml.zig unit tests
fail with 'unable to find dynamic system library sqlite3'.
The SQLite amalgamation is already downloaded before this step,
so bundling it is both correct and sufficient on all platforms.

Closes #136
@vmvarela vmvarela added type:bug Something isn't working priority:high Must be in the next sprint size:xs Trivial — less than 1 hour labels May 7, 2026
@vmvarela vmvarela merged commit adbc99d into master May 7, 2026
5 checks passed
@vmvarela vmvarela deleted the issue-136/fix-unit-test-windows-sqlite branch May 7, 2026 15:13
@vmvarela vmvarela mentioned this pull request May 7, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:high Must be in the next sprint size:xs Trivial — less than 1 hour type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: unit tests fail on Windows CI due to missing system sqlite3

1 participant