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