Skip to content

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

@vmvarela

Description

@vmvarela

Description

The zig build unit-test step in CI fails on Windows with:

error: unable to find dynamic system library 'sqlite3' using strategy 'paths_first'. searched paths: none

Root Cause

The unit-test build step includes tests for src/xml.zig, which links against sqlite3. Without -Dbundle-sqlite=true, the build falls back to linkSystemLibrary("sqlite3") — a library that does not exist on Windows.

The SQLite amalgamation is already downloaded by the preceding step, so passing -Dbundle-sqlite=true is sufficient.

Acceptance Criteria

  • zig build unit-test -Dbundle-sqlite=true is used in CI
  • Windows CI unit-test step passes

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:highMust be in the next sprintsize:xsTrivial — less than 1 hourtype:bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions