Compiling MacOS release builds on Linux — as the GitHub Actions CI job does now — means cgo isn't enabled, which means the go-sqlite3 package isn't compiled, which means no GeoPackage support in the MacOS builds.
This pull request separates the jobs so that Linux builds are compiled on the ubuntu-latest runner while MacOS builds are compiled on the macos-latest runner. This means no cross-compilation is required and cgo can run happily.
Compiling MacOS release builds on Linux — as the GitHub Actions CI job does now — means cgo isn't enabled, which means the go-sqlite3 package isn't compiled, which means no GeoPackage support in the MacOS builds.
This pull request separates the jobs so that Linux builds are compiled on the
ubuntu-latest
runner while MacOS builds are compiled on themacos-latest
runner. This means no cross-compilation is required and cgo can run happily.Resolves go-spatial/tegola#736