hopefully fix windows build?
This commit is contained in:
parent
552e21fcfc
commit
ae77007578
17
.drone.yml
17
.drone.yml
@ -10,24 +10,15 @@ 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
|
||||
@ -48,6 +39,6 @@ steps:
|
||||
files:
|
||||
- mac_test
|
||||
- linux_test
|
||||
- windows_test
|
||||
- windows_test.exe
|
||||
checksum:
|
||||
- sha1
|
Loading…
x
Reference in New Issue
Block a user