Skip to content

Commit eb60a5d

Browse files
Build windows using golang 1.14 (#12489)
1 parent 8a0049b commit eb60a5d

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.drone.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,14 +425,23 @@ steps:
425425
commands:
426426
- git fetch --tags --force
427427

428-
- name: static
428+
- name: static-windows
429429
pull: always
430-
image: techknowlogick/xgo:go-1.15.x
430+
image: techknowlogick/xgo:go-1.14.x
431431
commands:
432432
- apt update && apt -y install curl
433433
- curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt -y install nodejs
434434
- export PATH=$PATH:$GOPATH/bin
435-
- make release
435+
- make frontend generate release-windows
436+
environment:
437+
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
438+
TAGS: bindata sqlite sqlite_unlock_notify
439+
440+
- name: static
441+
pull: always
442+
image: techknowlogick/xgo:go-1.15.x
443+
commands:
444+
- make release-linux release-darwin release-copy release-compress release-sources release-docs release-check
436445
environment:
437446
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
438447
TAGS: bindata sqlite sqlite_unlock_notify

0 commit comments

Comments
 (0)