aboutsummaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2020-08-13 22:29:00 -0400
committerGitHub <noreply@github.com>2020-08-13 22:29:00 -0400
commiteb60a5d05478f56bf15220f49ed78f0f72af5698 (patch)
tree40fa769e19168c9ba5968368a049595786e6c7c4 /.drone.yml
parent8a0049bb033c8080f7a4b97b191ee5dc598b9bcb (diff)
downloadgitea-eb60a5d05478f56bf15220f49ed78f0f72af5698.tar.gz
gitea-eb60a5d05478f56bf15220f49ed78f0f72af5698.zip
Build windows using golang 1.14 (#12489)
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml15
1 files changed, 12 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml
index 2738edaf58..107cbf59ac 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -425,14 +425,23 @@ steps:
commands:
- git fetch --tags --force
- - name: static
+ - name: static-windows
pull: always
- image: techknowlogick/xgo:go-1.15.x
+ image: techknowlogick/xgo:go-1.14.x
commands:
- apt update && apt -y install curl
- curl -sL https://deb.nodesource.com/setup_12.x | bash - && apt -y install nodejs
- export PATH=$PATH:$GOPATH/bin
- - make release
+ - make frontend generate release-windows
+ environment:
+ GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
+ TAGS: bindata sqlite sqlite_unlock_notify
+
+ - name: static
+ pull: always
+ image: techknowlogick/xgo:go-1.15.x
+ commands:
+ - make release-linux release-darwin release-copy release-compress release-sources release-docs release-check
environment:
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
TAGS: bindata sqlite sqlite_unlock_notify