hopefully fix windows build?
This commit is contained in:
parent
552e21fcfc
commit
ae77007578
19
.drone.yml
19
.drone.yml
@ -10,25 +10,16 @@ steps:
|
|||||||
- name : build windows
|
- name : build windows
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
commands:
|
commands:
|
||||||
- go build -o windows_test ./cmd/test_prog
|
- GOOS=windows GOARCH=amd64 go build -o windows_test.exe ./cmd/test_prog
|
||||||
enviroment:
|
|
||||||
GOOS: windows
|
|
||||||
GOARCH: amd64
|
|
||||||
- name : build linux
|
- name : build linux
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
commands:
|
commands:
|
||||||
- go build -o linux_test ./cmd/test_prog
|
- GOOS=linux GOARCH=amd64 go build -o linux_test ./cmd/test_prog
|
||||||
enviroment:
|
|
||||||
GOOS: linux
|
|
||||||
GOARCH: amd64
|
|
||||||
- name : build mac
|
- name : build mac
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
commands:
|
commands:
|
||||||
- go build -o mac_test ./cmd/test_prog
|
- GOOS=darwin GOARCH=amd64 go build -o mac_test ./cmd/test_prog
|
||||||
enviroment:
|
|
||||||
GOOS: darwin
|
|
||||||
GOARCH: amd64
|
|
||||||
|
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
@ -48,6 +39,6 @@ steps:
|
|||||||
files:
|
files:
|
||||||
- mac_test
|
- mac_test
|
||||||
- linux_test
|
- linux_test
|
||||||
- windows_test
|
- windows_test.exe
|
||||||
checksum:
|
checksum:
|
||||||
- sha1
|
- sha1
|
Loading…
x
Reference in New Issue
Block a user