Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
howjmay committed Nov 9, 2023
1 parent 3956675 commit 092cc1e
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ jobs:
with:
# either 'goreleaser' (default) or 'goreleaser-pro':
distribution: goreleaser
args: build -f ./tools/wasp-cli/.goreleaser.yml
args: build -f ./tools/wasp-cli/.goreleaser.yml
63 changes: 63 additions & 0 deletions tools/wasp-cli/.goreleaser_test_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Documentation at http://goreleaser.com

# Project name
project_name: wasp-cli

# Builds
builds:
# Linux AMD64
- id: wasp-cli-linux-amd64
binary: wasp-cli
ldflags:
- -s -w -X=github.com/iotaledger/wasp/components/app.Version={{ .Summary }}
main: main.go
dir: ./tools/wasp-cli\
goos:
- linux
goarch:
- amd64

# Linux ARM64
- id: wasp-cli-linux-arm64
binary: wasp-cli
env:
- CGO_ENABLED=1
- CC=aarch64-linux-gnu-gcc
- CXX=aarch64-linux-gnu-g++
ldflags:
- -s -w -X=github.com/iotaledger/wasp/components/app.Version={{ .Summary }}
main: main.go
dir: ./tools/wasp-cli
goos:
- linux
goarch:
- arm64

# macOS
- id: wasp-cli-darwin-all
binary: wasp-cli
ldflags:
- -s -w -X=github.com/iotaledger/wasp/components/app.Version={{ .Summary }}
main: main.go
dir: ./tools/wasp-cli
goos:
- darwin
goarch:
- arm64
- amd64

# Windows AMD64
- id: wasp-cli-windows-amd64
binary: wasp-cli
env:
- CGO_ENABLED=1
- CC=/usr/bin/x86_64-w64-mingw32-gcc-posix
- CXX=/usr/bin/x86_64-w64-mingw32-g++-posix
ldflags:
- -s -w -X=github.com/iotaledger/wasp/components/app.Version={{ .Summary }}
main: main.go
dir: ./tools/wasp-cli
goos:
- windows
goarch:
- amd64

0 comments on commit 092cc1e

Please sign in to comment.