mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
Win binaries (#6831)
This commit is contained in:
parent
77f010523d
commit
6e85024a2b
@ -50,6 +50,17 @@ builds:
|
||||
tags: [ nosqlite, noboltdb ]
|
||||
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 ]
|
||||
ldflags: -s -w
|
||||
|
||||
|
||||
snapshot:
|
||||
name_template: "{{ .Tag }}.next"
|
||||
|
4
Makefile
4
Makefile
@ -229,7 +229,7 @@ release-dry-run: git-submodules
|
||||
-v `pwd`:/go/src/$(PACKAGE_NAME) \
|
||||
-w /go/src/$(PACKAGE_NAME) \
|
||||
ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
|
||||
--rm-dist --skip-validate --skip-publish
|
||||
--clean --skip-validate --skip-publish
|
||||
|
||||
.PHONY: release
|
||||
release: git-submodules
|
||||
@ -244,7 +244,7 @@ release: git-submodules
|
||||
-v `pwd`:/go/src/$(PACKAGE_NAME) \
|
||||
-w /go/src/$(PACKAGE_NAME) \
|
||||
ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
|
||||
--rm-dist --skip-validate
|
||||
--clean --skip-validate
|
||||
|
||||
@docker image push --all-tags thorax/erigon
|
||||
@docker image push --all-tags ghcr.io/ledgerwatch/erigon
|
||||
|
Loading…
Reference in New Issue
Block a user