Fix Windows SQLite support in releases
- Enable CGO in GoReleaser config - Add MinGW cross-compiler for Windows builds - Split builds per platform to configure correct CC - Install cross-compilation toolchains in release workflow Fixes #253 Amp-Thread-ID: https://ampcode.com/threads/T-8600ed89-42af-4785-b5dc-01ad37f1451d Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -26,6 +26,11 @@ jobs:
|
||||
with:
|
||||
go-version: '1.23'
|
||||
|
||||
- name: Install cross-compilation toolchains
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y gcc-mingw-w64-x86-64 gcc-aarch64-linux-gnu
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v6
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user