mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-16 10:09:28 +02:00
19 lines
526 B
YAML
19 lines
526 B
YAML
image: alpine/edge
|
|
packages:
|
|
- go
|
|
tasks:
|
|
- test: |
|
|
cd scotty
|
|
go build -v .
|
|
go test -v ./...
|
|
- build: |
|
|
cd scotty
|
|
GOOS=windows GOARCH=amd64 go build -o bin/scotty.exe .
|
|
GOOS=linux GOARCH=amd64 go build -o bin/scotty-linux .
|
|
GOOS=darwin GOARCH=amd64 go build -o bin/scotty-mac-intel .
|
|
GOOS=darwin GOARCH=arm64 go build -o bin/scotty-mac-arm .
|
|
artifacts:
|
|
- scotty/bin/scotty.exe
|
|
- scotty/bin/scotty-linux
|
|
- scotty/bin/scotty-mac-intel
|
|
- scotty/bin/scotty-mac-arm
|