@@ -19,6 +19,19 @@ builds:
1919 env :
2020 - CGO_ENABLED=1
2121
22+ - id : httpcache_windows
23+ binary : httpcache
24+ buildmode : " c-shared"
25+ ldflags :
26+ - -s -w -X github.com/walterwanderley/sqlite-http-cache/extension.version={{.Version}} -X github.com/walterwanderley/sqlite-http-cache/extension.commit={{.Commit}} -X github.com/walterwanderley/sqlite-http-cache/extension.date={{.Date}}
27+ goos :
28+ - windows
29+ goarch :
30+ - amd64
31+ env :
32+ - CGO_ENABLED=1
33+ - CC=zig cc -target x86_64-windows
34+
2235 - id : sqlite-http-proxy
2336 main : ./cmd/sqlite-http-proxy
2437 binary : sqlite-http-proxy
@@ -29,6 +42,17 @@ builds:
2942 env :
3043 - CGO_ENABLED=1
3144
45+ - id : sqlite-http-proxy_windows
46+ main : ./cmd/sqlite-http-proxy
47+ binary : sqlite-http-proxy
48+ goos :
49+ - windows
50+ goarch :
51+ - amd64
52+ env :
53+ - CGO_ENABLED=1
54+ - CC=zig cc -target x86_64-windows
55+
3256 - id : sqlite-http-refresh
3357 main : ./cmd/sqlite-http-refresh
3458 binary : sqlite-http-refresh
@@ -37,7 +61,7 @@ builds:
3761 goarch :
3862 - amd64
3963 env :
40- - CGO_ENABLED=1
64+ - CGO_ENABLED=1
4165
4266 - id : libsql-http-proxy
4367 main : ./cmd/libsql-http-proxy
@@ -52,7 +76,7 @@ builds:
5276archives :
5377 - id : httpcache
5478 formats : [tar.gz]
55- ids : [httpcache]
79+ ids : [httpcache, httpcache_windows ]
5680 # this name template makes the OS and Arch compatible with the results of `uname`.
5781 name_template : >-
5882 httpcache_
@@ -71,7 +95,7 @@ archives:
7195
7296 - id : sqlite-http-proxy
7397 formats : [tar.gz]
74- ids : [sqlite-http-proxy]
98+ ids : [sqlite-http-proxy, sqlite-http-proxy_windows ]
7599 # this name template makes the OS and Arch compatible with the results of `uname`.
76100 name_template : >-
77101 {{- .Binary }}_
@@ -134,4 +158,4 @@ release:
134158 owner : walterwanderley
135159 name : sqlite-http-cache
136160
137- draft : true
161+ draft : false
0 commit comments