Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gsora committed Feb 21, 2024
1 parent 1e80a7b commit 1b15624
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:

- name: OSXCross for CGO Support
run: |
git clone https://github.com/plentico/osxcross-target.git /osxcross/target
mkdir ../../osxcross
git clone https://github.com/plentico/osxcross-target.git ../../osxcross/target
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
Expand Down
6 changes: 3 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ builds:
- id: macos_m1
env:
- CGO_ENABLED=1
- CC=/osxcross/target/bin/o64-clang
- CXX=/osxcross/target/bin/o64-clang++
- CC=/home/runner/work/osxcross/target/bin/o64-clang
- CXX=/home/runner/work/osxcross/target/bin/o64-clang++
goos:
- darwin
goarch:
- amd64

- id: macos_intel
env:
- "CGO_ENABLED=1"
- CGO_ENABLED=1
- CC=/home/runner/work/osxcross/target/bin/oa64-clang
- CXX=/home/runner/work/osxcross/target/bin/oa64-clang++
goos:
Expand Down

0 comments on commit 1b15624

Please sign in to comment.