diff options
author | techknowlogick <techknowlogick@gitea.io> | 2021-01-05 21:16:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-05 21:16:37 -0500 |
commit | d1581a4563e5ed349f9f8337a1966a3fedfd5d9d (patch) | |
tree | 414284b10088d9474ab43147724c43a8a66de940 /.drone.yml | |
parent | 91ceba0427d383181889138ee0aa83765dbf195b (diff) | |
download | gitea-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.yml | 12 |
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: |