Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
- name: Build the commands
run: go build ./cmd/...

- name: Build the cli for windows
run: GOOS=windows GOARCH=amd64 go build ./cmd/grus ./cmd/grus-stub-server

- name: Keep the Kubernetes client out of the agent
run: |
if go list -deps ./cmd/grus-agent | grep -q '^k8s.io/'; then
Expand Down
26 changes: 11 additions & 15 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ builds:
- -s -w -X main.version={{ .Version }}
goos: [linux, darwin, windows]
goarch: [amd64, arm64]
# The controller half of the binary pulls in the process driver, which uses unix process groups
# and does not compile for windows yet. Drop this block once the driver builds there.
ignore:
- goos: windows

# The agent runs game servers as local processes on a host; it has no windows build.
- id: grus-agent
Expand Down Expand Up @@ -129,14 +125,14 @@ homebrew_casks:
homepage: https://github.com/OneLiteFeatherNET/grus
description: Grus game server orchestration command line client

# Scoop needs a windows archive of grus, which does not exist yet (see the ignore rule above).
# Enable this block together with the windows build; upload stays off until the bucket exists.
# scoops:
# - ids: [grus]
# skip_upload: true
# repository:
# owner: OneLiteFeatherNET
# name: scoop-bucket
# homepage: https://github.com/OneLiteFeatherNET/grus
# description: Grus game server orchestration command line client
# license: Apache-2.0
# Scoop installs the windows archive of grus. Upload stays off until the bucket repository exists.
scoops:
- ids: [grus]
# Remove skip_upload (and give the workflow a token that can push to the bucket) when it exists.
skip_upload: true
repository:
owner: OneLiteFeatherNET
name: scoop-bucket
homepage: https://github.com/OneLiteFeatherNET/grus
description: Grus game server orchestration command line client
license: Apache-2.0