remove invalid freebsd arch.
remove invalid freebsd arch.
This commit is contained in:
@@ -49,7 +49,6 @@ jobs:
|
||||
GOOS: ${{ matrix.cfg.goos }}
|
||||
GOARCH: ${{ matrix.cfg.goarch }}
|
||||
GOARM: ${{ matrix.cfg.goarm }}
|
||||
ZIG_CROSS_COMPILE_TARGET: ${{ matrix.cfg.zig_cc_target }}
|
||||
STATIC: true
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -62,7 +61,6 @@ jobs:
|
||||
- { on: macos-latest, goos: darwin, goarch: amd64 }
|
||||
- { on: macos-latest, goos: darwin, goarch: arm64 }
|
||||
- { on: macos-latest, goos: freebsd, goarch: amd64 }
|
||||
- { on: macos-latest, goos: freebsd, goarch: arm64 }
|
||||
- { on: windows-latest, goos: windows, goarch: amd64 }
|
||||
- { on: windows-latest, goos: windows, goarch: arm64 }
|
||||
steps:
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
########################################################################################################################
|
||||
# Global Env Settings
|
||||
########################################################################################################################
|
||||
export CGO_ENABLED = 0
|
||||
|
||||
GO_WORKSPACE ?= /go/src/github.com/analogj/scrutiny
|
||||
|
||||
COLLECTOR_BINARY_NAME = scrutiny-collector-metrics
|
||||
@@ -19,6 +19,7 @@ endif
|
||||
|
||||
# enable to build static binaries.
|
||||
ifdef STATIC
|
||||
export CGO_ENABLED = 0
|
||||
LD_FLAGS := $(LD_FLAGS) -extldflags=-static
|
||||
STATIC_TAGS := $(STATIC_TAGS) -tags "static netgo"
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user