test win build (#6805)

This commit is contained in:
Alex Sharov 2023-02-08 18:38:33 +07:00 committed by GitHub
parent 7806324c4a
commit ad1291adc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,72 +9,47 @@ builds:
- id: darwin-amd64 - id: darwin-amd64
main: ./cmd/erigon main: ./cmd/erigon
binary: erigon binary: erigon
goos: goos: [ darwin ]
- darwin goarch: [ amd64 ]
goarch:
- amd64
env: env:
- PKG_CONFIG_SYSROOT_DIR=/sysroot/macos/amd64
- PKG_CONFIG_PATH=/sysroot/macos/amd64/usr/local/lib/pkgconfig
- CC=o64-clang - CC=o64-clang
- CXX=o64-clang++ - CXX=o64-clang++
tags: tags: [ nosqlite, noboltdb ]
- netgo ldflags: -s -w
ldflags:
-s -w
- id: darwin-arm64 - id: darwin-arm64
main: ./cmd/erigon main: ./cmd/erigon
binary: erigon binary: erigon
goos: goos: [ darwin ]
- darwin goarch: [ arm64 ]
goarch:
- arm64
env: env:
- PKG_CONFIG_SYSROOT_DIR=/sysroot/macos/arm64
- PKG_CONFIG_PATH=/sysroot/macos/arm64/usr/local/lib/pkgconfig
- CC=oa64-clang - CC=oa64-clang
- CXX=oa64-clang++ - CXX=oa64-clang++
tags: tags: [ nosqlite, noboltdb ]
- netgo ldflags: -s -w
ldflags:
-s -w
- id: linux-amd64 - id: linux-amd64
main: ./cmd/erigon main: ./cmd/erigon
binary: erigon binary: erigon
goos: goos: [ linux ]
- linux goarch: [ amd64 ]
goarch:
- amd64
env: env:
- PKG_CONFIG_SYSROOT_DIR=/sysroot/linux/amd64
- PKG_CONFIG_PATH=/sysroot/linux/amd64/usr/local/lib/pkgconfig
- CC=gcc - CC=gcc
- CXX=g++ - CXX=g++
tags: 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
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"
- id: linux-arm64 - id: linux-arm64
main: ./cmd/erigon main: ./cmd/erigon
binary: erigon binary: erigon
goos: goos: [ linux ]
- linux goarch: [ arm64 ]
goarch:
- arm64
env: env:
- PKG_CONFIG_SYSROOT_DIR=/sysroot/linux/aarch64
- PKG_CONFIG_PATH=/sysroot/linux/aarch64/usr/local/lib/pkgconfig
- CC=aarch64-linux-gnu-gcc - CC=aarch64-linux-gnu-gcc
- CXX=aarch64-linux-gnu-g++ - CXX=aarch64-linux-gnu-g++
tags: 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
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"
snapshot: snapshot:
name_template: "{{ .Tag }}.next" name_template: "{{ .Tag }}.next"