From ad755cbf02152601acc86f3765bd61fe1a3c9829 Mon Sep 17 00:00:00 2001 From: Tei Im Date: Thu, 20 Apr 2023 08:53:48 +0900 Subject: [PATCH 1/2] Disable windows build from release CI workflow --- .goreleaser.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index bddfac7ccc9..4297731d658 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -50,17 +50,6 @@ builds: tags: [ nosqlite, noboltdb, netgo ] ldflags: -s -w -extldflags "-static" # We need to build a static binary because we are building in a glibc based system and running in a musl container - - id: windows-amd64 - main: ./cmd/erigon - binary: erigon - goos: [ windows ] - goarch: [ amd64 ] - env: - - CC=x86_64-w64-mingw32-gcc - - CXX=x86_64-w64-mingw32-g++ - tags: [ nosqlite, noboltdb, netgo ] - ldflags: -s -w - snapshot: name_template: "{{ .Tag }}.next" From e728e6956380e699fe324abecbd6b524cea1f8d4 Mon Sep 17 00:00:00 2001 From: Tei Im Date: Thu, 20 Apr 2023 09:25:09 +0900 Subject: [PATCH 2/2] Comment out windows build info --- .goreleaser.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 4297731d658..517587e2658 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -50,6 +50,17 @@ builds: tags: [ nosqlite, noboltdb, netgo ] ldflags: -s -w -extldflags "-static" # We need to build a static binary because we are building in a glibc based system and running in a musl container +# - id: windows-amd64 +# main: ./cmd/erigon +# binary: erigon +# goos: [ windows ] +# goarch: [ amd64 ] +# env: +# - CC=x86_64-w64-mingw32-gcc +# - CXX=x86_64-w64-mingw32-g++ +# tags: [ nosqlite, noboltdb, netgo ] +# ldflags: -s -w + snapshot: name_template: "{{ .Tag }}.next"