mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
- Fixed merge conflicts in precompile_config_test.go - Fixed merge conflicts in block_test.go - Fixed merge conflicts in test_statedb.go
41 lines
934 B
YAML
41 lines
934 B
YAML
version: 2
|
|
# ref. https://goreleaser.com/customization/build/
|
|
builds:
|
|
- id: evm
|
|
main: ./plugin
|
|
binary: evm
|
|
flags:
|
|
- -v
|
|
ldflags: -X github.com/luxfi/evm/plugin/evm.Version=v{{.Version}}
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
env:
|
|
- CGO_ENABLED=1
|
|
- CGO_CFLAGS=-O -D__BLST_PORTABLE__ # Set the CGO flags to use the portable version of BLST
|
|
overrides:
|
|
- goos: linux
|
|
goarch: arm64
|
|
goarm64: v8.0
|
|
env:
|
|
- CC=aarch64-linux-gnu-gcc
|
|
- goos: darwin
|
|
goarch: arm64
|
|
goarm64: v8.0
|
|
env:
|
|
- CC=oa64-clang
|
|
- goos: darwin
|
|
goarch: amd64
|
|
goamd64: v1
|
|
env:
|
|
- CC=o64-clang
|
|
release:
|
|
# Repo in which the release will be created.
|
|
# Default is extracted from the origin remote URL or empty if its private hosted.
|
|
github:
|
|
owner: luxdefi
|
|
name: evm
|