summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2021-01-05 21:16:37 -0500
committerGitHub <noreply@github.com>2021-01-05 21:16:37 -0500
commitd1581a4563e5ed349f9f8337a1966a3fedfd5d9d (patch)
tree414284b10088d9474ab43147724c43a8a66de940 /.drone.yml
parent91ceba0427d383181889138ee0aa83765dbf195b (diff)
downloadgitea-d1581a4563e5ed349f9f8337a1966a3fedfd5d9d.tar.gz
gitea-d1581a4563e5ed349f9f8337a1966a3fedfd5d9d.zip
Add compliance check for windows to ensure cross platform build (#14260)
* Add compliance check for windows to ensure cross platform build * no race condition * woops. meant to change windows, not arm64 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index 716de169a0..74dbf107bd 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -97,6 +97,18 @@ steps:
- rm ./gitea # clean
depends_on: [checks-backend]
+ - name: build-backend-windows
+ image: golang:1.15
+ environment:
+ GO111MODULE: on
+ GOPROXY: off
+ GOOS: windows
+ GOARCH: amd64
+ TAGS: bindata gogit
+ commands:
+ - go build -mod=vendor -o gitea_windows
+ depends_on: [checks-backend]
+
- name: build-backend-386
image: golang:1.15
environment: