Skip to content

Commit

Permalink
testing withouts deps
Browse files Browse the repository at this point in the history
  • Loading branch information
yairsimantov20 committed Dec 27, 2023
1 parent 5a97c69 commit efa30c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ jobs:
go-version: 1.19
cache: true

- name: OSXCross for CGO Support
run: |
mkdir ../../osxcross
git clone https://github.com/plentico/osxcross-target.git ../../osxcross/target
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
Expand Down
14 changes: 1 addition & 13 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,7 @@ builds:
- linux
goarch:
- amd64
- id: darwin-build
binary: "{{ .ProjectName }}"
ldflags:
- -s
env:
- CGO_ENABLED=1
- CC=/home/runner/work/osxcross/target/bin/o64-clang
- CXX=/home/runner/work/osxcross/target/bin/o64-clang++
goos:
- darwin
ignore:
- goos: darwin
goarch: 386
- arm64
dockers:
- image_templates:
- "{{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}:{{ .Version }}-amd64"
Expand Down

0 comments on commit efa30c6

Please sign in to comment.