From 338d2ae04e56f19fd401132557738190607f811a Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Sun, 26 Jun 2022 20:05:54 -0700 Subject: [PATCH] remove invalid freebsd arch. remove invalid freebsd arch. --- .github/workflows/ci.yaml | 2 -- Makefile | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 443e4c6..1310337 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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: diff --git a/Makefile b/Makefile index bf6795d..11e2ff9 100644 --- a/Makefile +++ b/Makefile @@ -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