Enable cross platform builds / be more specific about output arch from drone
Some checks reported errors
continuous-integration/drone/tag Build was killed

This commit is contained in:
kemonine 2020-09-19 17:57:32 -04:00
parent 4b0d611715
commit 2ffda69ca8

View file

@ -27,11 +27,11 @@ steps:
path: /drone/src/out
commands:
- cd /drone/src
- go build -o out/wifi cmd/wifi/wifi.go
- go build -o out/inotify cmd/inotify/inotify.go
- go build -o out/gui cmd/gui/gui.go
- go build -o out/fan cmd/fan/fan.go
- go build -o out/hdmi cmd/hdmi/hdmi.go
- env GOOS=linux GOARCH=arm64 go build -o out/wifi cmd/wifi/wifi.go
- env GOOS=linux GOARCH=arm64 go build -o out/inotify cmd/inotify/inotify.go
- env GOOS=linux GOARCH=arm64 go build -o out/gui cmd/gui/gui.go
- env GOOS=linux GOARCH=arm64 go build -o out/fan cmd/fan/fan.go
- env GOOS=linux GOARCH=arm64 go build -o out/hdmi cmd/hdmi/hdmi.go
- cp CHANGELOG.md out/
- name: gitea-release
image: plugins/gitea-release