Skip to content

Commit

Permalink
chore: fix CGO_ENABLED (#111)
Browse files Browse the repository at this point in the history
* chore: fixed CGO_ENABLED

* chore: revert

* chore: add gcc multilib

* chore: ignore arm64 linux

* chore: fix arm64

* chore: remove darwin

* chore: ignore arm
  • Loading branch information
freak12techno authored Dec 15, 2024
1 parent 800f6d3 commit 40a0fbd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: '1.21.3'
- name: GCC multilib
run: |
sudo apt-get install gcc-multilib g++-multilib
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
Expand Down
9 changes: 6 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
version: 2
builds:
- main: ./cmd/cosmos-proposals-checker.go
env:
- CGO_ENABLED=0
- CGO_ENABLED=1
goos:
- linux
- darwin
goarch:
- amd64
- 386
nfpms:
- vendor: 🐹 Quokka Stake
maintainer: Sergey <freak12techno@gmail.com>
Expand All @@ -14,7 +17,7 @@ nfpms:
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}"
version_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
Expand Down

0 comments on commit 40a0fbd

Please sign in to comment.