Skip to content

Commit

Permalink
enable static build (macos still requires it)
Browse files Browse the repository at this point in the history
there are no more dependencies required we can do this
fyne-io/systray#24 (comment)
  • Loading branch information
umbynos committed Feb 9, 2024
1 parent 37c4b58 commit 88dbd62
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
run:
shell: bash

# by default disable CGO, it's not needed (except on macos)
env:
CGO_ENABLED: 0

runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -102,6 +106,7 @@ jobs:

- name: Build the Agent for macos
env:
CGO_ENABLED: 1
MACOSX_DEPLOYMENT_TARGET: 10.15 # minimum supported version for mac
CGO_CFLAGS: -mmacosx-version-min=10.15
CGO_LDFLAGS: -mmacosx-version-min=10.15
Expand Down

0 comments on commit 88dbd62

Please sign in to comment.