mirror of
1
Fork 0

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>
This commit is contained in:
techknowlogick 2021-01-05 21:16:37 -05:00 committed by GitHub
parent 91ceba0427
commit d1581a4563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -97,6 +97,18 @@ steps:
- rm ./gitea # clean - rm ./gitea # clean
depends_on: [checks-backend] 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 - name: build-backend-386
image: golang:1.15 image: golang:1.15
environment: environment: