Skip to content

Commit

Permalink
remove invalid freebsd arch.
Browse files Browse the repository at this point in the history
remove invalid freebsd arch.
  • Loading branch information
AnalogJ committed Jul 7, 2022
1 parent 4419f7f commit 338d2ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 338d2ae

Please sign in to comment.