Skip to content

Commit

Permalink
chore: build macOS version
Browse files Browse the repository at this point in the history
Add macOS support.
  • Loading branch information
onelittlechildawa authored Feb 3, 2025
1 parent 6bc04cd commit 6b2ee1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 go build -trimpath -ldflags '-s -w --extldflags "-static -fpic"' -o pty_freebsd_x64
CGO_ENABLED=0 GOOS=freebsd GOARCH=arm go build -trimpath -ldflags '-s -w --extldflags "-static -fpic"' -o pty_freebsd_arm
CGO_ENABLED=0 GOOS=freebsd GOARCH=arm64 go build -trimpath -ldflags '-s -w --extldflags "-static -fpic"' -o pty_freebsd_arm64
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -trimpath -ldflags '-s -w --extldflags "-static -fpic"' -o pty_darwin_x64
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -trimpath -ldflags '-s -w --extldflags "-static -fpic"' -o pty_darwin_arm64
- uses: "marvinpinto/action-automatic-releases@latest"
with:
Expand Down Expand Up @@ -76,3 +78,5 @@ jobs:
pty_freebsd_x64
pty_freebsd_arm
pty_freebsd_arm64
pty_darwin_x64
pty_darwin_arm64

0 comments on commit 6b2ee1b

Please sign in to comment.