File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed
Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ builds:
1111 binary : filefusion
1212 goos :
1313 - linux
14- - darwin
1514 - windows
1615 goarch :
1716 - amd64
@@ -20,18 +19,31 @@ builds:
2019 - CGO_ENABLED=1
2120 flags :
2221 - -tags=bash cpp csharp golang css html java php kotlin javascript ruby python swift typescript sql
23- # Add overrides for ARM64 cross-compilation
2422 overrides :
2523 - goos : linux
2624 goarch : arm64
2725 env :
2826 - CC=aarch64-linux-gnu-gcc
2927 - CXX=aarch64-linux-gnu-g++
30- # Skip Windows ARM64 as it's less commonly used
28+ - CGO_ENABLED=1
3129 ignore :
3230 - goos : windows
3331 goarch : arm64
3432
33+ # Separate build configuration for macOS
34+ - id : filefusion-darwin
35+ main : ./cmd/filefusion/main.go
36+ binary : filefusion
37+ goos :
38+ - darwin
39+ goarch :
40+ - amd64
41+ - arm64
42+ env :
43+ - CGO_ENABLED=0 # Disable CGO for macOS builds
44+ flags :
45+ - -tags=bash cpp csharp golang css html java php kotlin javascript ruby python swift typescript sql
46+
3547archives :
3648 - id : filefusion-archive
3749 name_template : >-
@@ -63,7 +75,6 @@ checksum:
6375 name_template : ' checksums.txt'
6476 algorithm : sha256
6577
66- # Add changelog configuration
6778changelog :
6879 sort : asc
6980 filters :
@@ -73,6 +84,3 @@ changelog:
7384 - ' ^ci:'
7485 - Merge pull request
7586 - Merge branch
76-
77- snapshot :
78- name_template : ' {{ incpatch .Version }}-next'
You can’t perform that action at this time.
0 commit comments