enable cgo?

This commit is contained in:
kaedwen committed 2023-07-09 09:08:41 +02:00
1 parent 72be9703bb
commit 5edde4223b
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -68,6 +68,6 @@ jobs:
PKG_CONFIG_PATH: /usr/lib/${{ matrix.target.prefix }}/pkgconfig PKG_CONFIG_PATH: /usr/lib/${{ matrix.target.prefix }}/pkgconfig
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: binary name: service-${{ matrix.target.os }}-${{ matrix.target.goarch }}
path: service path: service
retention-days: 5 retention-days: 5
+2 -2
View File
@@ -1,6 +1,6 @@
build: build:
go build -mod=vendor -o service main.go CGO_ENABLED=1 go build -mod=vendor -o service main.go
build-static: build-static:
go build -mod=vendor -tags=embed -o service main.go CGO_ENABLED=1 go build -mod=vendor -tags=embed -o service main.go