Skip to content

Commit

Permalink
Add compliance check for windows to ensure cross platform build (#14260)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
techknowlogick and lunny authored Jan 6, 2021
1 parent 91ceba0 commit d1581a4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d1581a4

Please sign in to comment.