You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use native runners for macOS builds to enable CGO
Previously, the workflow attempted cross-compilation for x86_64 builds
on arm64 runners, which forced CGO_ENABLED=0. This broke SQLite support
because mattn/go-sqlite3 requires CGO.
Changes:
- Use macos-13 (Intel) for x86_64 builds
- Use macos-latest (Apple Silicon) for arm64 builds
- Remove cross-compilation logic that hardcoded CGO_ENABLED=0
- Now CGO_ENABLED=1 from scripts/package-macos.sh is properly used
This fixes the "go-sqlite3 requires cgo to work" error.
0 commit comments