Skip to content

Commit

Permalink
Explicitly set CGO_ENABLED on build (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
int128 authored Jun 7, 2021
1 parent 8a72510 commit 82e96fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 82e96fb

Please sign in to comment.