mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
test win build (#6805)
This commit is contained in:
parent
7806324c4a
commit
ad1291adc2
@ -9,72 +9,47 @@ builds:
|
||||
- id: darwin-amd64
|
||||
main: ./cmd/erigon
|
||||
binary: erigon
|
||||
goos:
|
||||
- darwin
|
||||
goarch:
|
||||
- amd64
|
||||
goos: [ darwin ]
|
||||
goarch: [ amd64 ]
|
||||
env:
|
||||
- PKG_CONFIG_SYSROOT_DIR=/sysroot/macos/amd64
|
||||
- PKG_CONFIG_PATH=/sysroot/macos/amd64/usr/local/lib/pkgconfig
|
||||
- CC=o64-clang
|
||||
- CXX=o64-clang++
|
||||
tags:
|
||||
- netgo
|
||||
ldflags:
|
||||
-s -w
|
||||
tags: [ nosqlite, noboltdb ]
|
||||
ldflags: -s -w
|
||||
|
||||
- id: darwin-arm64
|
||||
main: ./cmd/erigon
|
||||
binary: erigon
|
||||
goos:
|
||||
- darwin
|
||||
goarch:
|
||||
- arm64
|
||||
goos: [ darwin ]
|
||||
goarch: [ arm64 ]
|
||||
env:
|
||||
- PKG_CONFIG_SYSROOT_DIR=/sysroot/macos/arm64
|
||||
- PKG_CONFIG_PATH=/sysroot/macos/arm64/usr/local/lib/pkgconfig
|
||||
- CC=oa64-clang
|
||||
- CXX=oa64-clang++
|
||||
tags:
|
||||
- netgo
|
||||
ldflags:
|
||||
-s -w
|
||||
tags: [ nosqlite, noboltdb ]
|
||||
ldflags: -s -w
|
||||
|
||||
- id: linux-amd64
|
||||
main: ./cmd/erigon
|
||||
binary: erigon
|
||||
goos:
|
||||
- linux
|
||||
goarch:
|
||||
- amd64
|
||||
goos: [ linux ]
|
||||
goarch: [ amd64 ]
|
||||
env:
|
||||
- PKG_CONFIG_SYSROOT_DIR=/sysroot/linux/amd64
|
||||
- PKG_CONFIG_PATH=/sysroot/linux/amd64/usr/local/lib/pkgconfig
|
||||
- CC=gcc
|
||||
- CXX=g++
|
||||
tags:
|
||||
- netgo
|
||||
ldflags:
|
||||
# We need to build a static binary because we are building in a glibc based system and running in a musl container
|
||||
-s -w -extldflags "-static"
|
||||
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: linux-arm64
|
||||
main: ./cmd/erigon
|
||||
binary: erigon
|
||||
goos:
|
||||
- linux
|
||||
goarch:
|
||||
- arm64
|
||||
goos: [ linux ]
|
||||
goarch: [ arm64 ]
|
||||
env:
|
||||
- PKG_CONFIG_SYSROOT_DIR=/sysroot/linux/aarch64
|
||||
- PKG_CONFIG_PATH=/sysroot/linux/aarch64/usr/local/lib/pkgconfig
|
||||
- CC=aarch64-linux-gnu-gcc
|
||||
- CXX=aarch64-linux-gnu-g++
|
||||
tags:
|
||||
- netgo
|
||||
ldflags:
|
||||
# We need to build a static binary because we are building in a glibc based system and running in a musl container
|
||||
-s -w -extldflags "-static"
|
||||
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
|
||||
|
||||
|
||||
snapshot:
|
||||
name_template: "{{ .Tag }}.next"
|
||||
|
Loading…
Reference in New Issue
Block a user