hopefully fix windows build?
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Sid 2020-10-11 19:43:11 +01:00
parent 552e21fcfc
commit ae77007578

View File

@ -10,25 +10,16 @@ steps:
- name : build windows
image: golang:latest
commands:
- go build -o windows_test ./cmd/test_prog
enviroment:
GOOS: windows
GOARCH: amd64
- GOOS=windows GOARCH=amd64 go build -o windows_test.exe ./cmd/test_prog
- name : build linux
image: golang:latest
commands:
- go build -o linux_test ./cmd/test_prog
enviroment:
GOOS: linux
GOARCH: amd64
- GOOS=linux GOARCH=amd64 go build -o linux_test ./cmd/test_prog
- name : build mac
image: golang:latest
commands:
- go build -o mac_test ./cmd/test_prog
enviroment:
GOOS: darwin
GOARCH: amd64
- GOOS=darwin GOARCH=amd64 go build -o mac_test ./cmd/test_prog
- name: publish
image: plugins/gitea-release
@ -48,6 +39,6 @@ steps:
files:
- mac_test
- linux_test
- windows_test
- windows_test.exe
checksum:
- sha1