Skip to content

Commit

Permalink
wip:amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar955 committed Oct 11, 2024
1 parent 4ccc7e5 commit 5362ba3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: 2

project_name: vigilante

builds:
Expand All @@ -20,6 +22,33 @@ builds:
- netgo
- osusergo

- id: vigilante-darwin-arm64
main: ./cmd/vigilante/main.go
binary: vigilante
hooks:
pre:
- wget https://github.com/CosmWasm/wasmvm/releases/download/{{ .Env.COSMWASM_VERSION }}/libwasmvmstatic_darwin.a -O /lib/libwasmvmstatic_darwin.a
goos:
- darwin
goarch:
- arm64
env:
- GO111MODULE=on
- CGO_ENABLED=1
- CC=oa64-clang
- CGO_LDFLAGS=-L/lib
ldflags:
- -w -s
- -linkmode=external
flags:
- -mod=readonly
- -trimpath
tags:
- netgo
- ledger
- muslc
- osusergo

archives:
- id: zipped
builds:
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ release-snapshot:
--clean \
--snapshot \
--skip=publish,validate \
--verbose

# NOTE: By default, the CI will handle the release process.
# this is for manually releasing.
Expand Down

0 comments on commit 5362ba3

Please sign in to comment.