Skip to content

Commit 46c9e93

Browse files
committed
enable static build (macos still requires it)
there are no more dependencies required we can do this fyne-io/systray#24 (comment)
1 parent 7f5e614 commit 46c9e93

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
@@ -41,6 +41,10 @@ jobs:
4141
run:
4242
shell: bash
4343

44+
# by default disable CGO, it's not needed (except on macos)
45+
env:
46+
CGO_ENABLED: 0
47+
4448
runs-on: ${{ matrix.os }}
4549

4650
steps:
@@ -100,6 +104,7 @@ jobs:
100104

101105
- name: Build the Agent for macos
102106
env:
107+
CGO_ENABLED: 1
103108
MACOSX_DEPLOYMENT_TARGET: 10.11 # minimum supported version for mac
104109
CGO_CFLAGS: -mmacosx-version-min=10.11
105110
CGO_LDFLAGS: -mmacosx-version-min=10.11

0 commit comments

Comments
 (0)