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 0f90799 commit 0730874
Show file tree
Hide file tree
Showing 2 changed files with 15 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,11 @@ jobs:
go-version: 1.21
cache: true

- name: OSXCross for CGO Support
run: |
wget -P ~ https://musl.cc/aarch64-linux-musl-cross.tgz
tar -xvf ~/aarch64-linux-musl-cross.tgz -C ~
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
Expand Down
10 changes: 10 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ builds:
- linux
goarch:
- amd64
- id: arm
ldflags:
- -extldflags=-static
env:
- CGO_ENABLED=1
- CC=~/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc
binary: "{{ .ProjectName }}"
goos:
- linux
goarch:
- arm64
dockers:
- image_templates:
Expand Down

0 comments on commit 0730874

Please sign in to comment.