mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-18 11:09:29 +02:00
24 lines
683 B
YAML
24 lines
683 B
YAML
image: alpine/edge
|
|
packages:
|
|
- go
|
|
- hut
|
|
oauth: pages.sr.ht/PAGES:RW
|
|
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 .
|
|
- publish-redirect: |
|
|
# Update redirect on https://go.uploadedlobster.com/scotty
|
|
./scotty/pages/publish.sh
|
|
artifacts:
|
|
- scotty/bin/scotty.exe
|
|
- scotty/bin/scotty-linux
|
|
- scotty/bin/scotty-mac-intel
|
|
- scotty/bin/scotty-mac-arm
|