Skip to content

Commit

Permalink
wip: amd static not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar955 committed Oct 11, 2024
1 parent 47956ed commit fe89416
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,26 @@ builds:
binary: vigilante
hooks:
pre:
- wget https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.COSMWASM_VERSION }}/libwasmvm_muslc.x86_64.a -O /usr/lib/libwasmvm_muslc.x86_64.a
- wget https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.COSMWASM_VERSION }}/libwasmvm_muslc.x86_64.a -O /usr/lib/x86_64-linux-gnu/libwasmvm_muslc.x86_64.a
goos:
- linux
goarch:
- amd64
env:
- GO111MODULE=on
- CGO_ENABLED=1
- CC=x86_64-linux-gnu-gcc
ldflags:
- -w -s
- -linkmode=external
- -extldflags '-Wl,-z,muldefs -static'
flags:
- -mod=readonly
- -trimpath
tags:
- netgo
- ledger
- muslc
- osusergo

- id: vigilante-darwin-arm64
Expand Down

0 comments on commit fe89416

Please sign in to comment.