Skip to content

Commit 8326af1

Browse files
committed
enable static build (macos still requires it)
there are no more dependencies required we can do this
1 parent 9328619 commit 8326af1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

+5
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ jobs:
3535
run:
3636
shell: bash
3737

38+
# by default disable CGO, it's not needed (except on macos)
39+
env:
40+
CGO_ENABLED: 0
41+
3842
runs-on: ${{ matrix.os }}
3943

4044
steps:
@@ -104,6 +108,7 @@ jobs:
104108

105109
- name: Build the Agent for macos
106110
env:
111+
CGO_ENABLED: 1
107112
MACOSX_DEPLOYMENT_TARGET: 10.11 # minimum supported version for mac
108113
CGO_CFLAGS: -mmacosx-version-min=10.11
109114
CGO_LDFLAGS: -mmacosx-version-min=10.11

0 commit comments

Comments
 (0)