mirror of
https://github.com/int128/kubelogin.git
synced 2026-05-20 23:02:50 +00:00
Explicitly set CGO_ENABLED on build (#569)
This commit is contained in:
3
.github/workflows/go.yaml
vendored
3
.github/workflows/go.yaml
vendored
@@ -82,6 +82,7 @@ jobs:
|
||||
- os: ubuntu-latest
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
CGO_ENABLED: 0 # https://github.com/int128/kubelogin/issues/567
|
||||
- os: ubuntu-latest
|
||||
GOOS: linux
|
||||
GOARCH: arm64
|
||||
@@ -91,6 +92,7 @@ jobs:
|
||||
- os: macos-latest
|
||||
GOOS: darwin
|
||||
GOARCH: amd64
|
||||
CGO_ENABLED: 1 # https://github.com/int128/kubelogin/issues/249
|
||||
- os: macos-latest
|
||||
GOOS: darwin
|
||||
GOARCH: arm64
|
||||
@@ -101,6 +103,7 @@ jobs:
|
||||
env:
|
||||
GOOS: ${{ matrix.platform.GOOS }}
|
||||
GOARCH: ${{ matrix.platform.GOARCH }}
|
||||
CGO_ENABLED: ${{ matrix.platform.CGO_ENABLED }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2
|
||||
|
||||
Reference in New Issue
Block a user