ci: только linux/windows amd64 — mac/arm пока не нужны
All checks were successful
CI / test (push) Successful in 55s
CI / build-and-package (amd64, linux) (push) Successful in 41s
CI / build-and-package (amd64, windows) (push) Successful in 47s

This commit is contained in:
Hermes
2026-08-16 13:11:40 +05:00
parent 63668a0f69
commit 0142686592
2 changed files with 2 additions and 8 deletions

View File

@@ -36,11 +36,8 @@ jobs:
needs: test
strategy:
matrix:
goos: [linux, windows, darwin]
goarch: [amd64, arm64]
exclude:
- goos: windows
goarch: arm64
goos: [linux, windows]
goarch: [amd64]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

View File

@@ -36,7 +36,4 @@ bench:
.PHONY: cross
cross:
GOOS=linux GOARCH=amd64 $(GO) build $(GOFLAGS) -o $(APP)-linux-amd64 $(CMD_DIR)
GOOS=linux GOARCH=arm64 $(GO) build $(GOFLAGS) -o $(APP)-linux-arm64 $(CMD_DIR)
GOOS=darwin GOARCH=amd64 $(GO) build $(GOFLAGS) -o $(APP)-darwin-amd64 $(CMD_DIR)
GOOS=darwin GOARCH=arm64 $(GO) build $(GOFLAGS) -o $(APP)-darwin-arm64 $(CMD_DIR)
GOOS=windows GOARCH=amd64 $(GO) build $(GOFLAGS) -o $(APP)-windows-amd64.exe $(CMD_DIR)