From 40a0fbd33397dfc899d74265a40528c7bb2848fa Mon Sep 17 00:00:00 2001 From: Sergey <83376337+freak12techno@users.noreply.github.com> Date: Mon, 16 Dec 2024 01:49:27 +0300 Subject: [PATCH] chore: fix CGO_ENABLED (#111) * chore: fixed CGO_ENABLED * chore: revert * chore: add gcc multilib * chore: ignore arm64 linux * chore: fix arm64 * chore: remove darwin * chore: ignore arm --- .github/workflows/release.yaml | 3 +++ .goreleaser.yml | 9 ++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2c06c93..999416d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: diff --git a/.goreleaser.yml b/.goreleaser.yml index 09cad25..2813ebe 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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 @@ -14,7 +17,7 @@ nfpms: checksum: name_template: 'checksums.txt' snapshot: - name_template: "{{ .Tag }}" + version_template: "{{ .Tag }}" changelog: sort: asc filters: