Browse Source

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>
tags/v1.15.0-dev
techknowlogick GitHub 4 years ago
parent
commit
e68d158640
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      .drone.yml

+ 12
- 0
.drone.yml View File

@@ -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:


Loading…
Cancel
Save