Skip to content

Commit d1581a4

Browse files
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 <[email protected]>
1 parent 91ceba0 commit d1581a4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.drone.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,18 @@ steps:
9797
- rm ./gitea # clean
9898
depends_on: [checks-backend]
9999

100+
- name: build-backend-windows
101+
image: golang:1.15
102+
environment:
103+
GO111MODULE: on
104+
GOPROXY: off
105+
GOOS: windows
106+
GOARCH: amd64
107+
TAGS: bindata gogit
108+
commands:
109+
- go build -mod=vendor -o gitea_windows
110+
depends_on: [checks-backend]
111+
100112
- name: build-backend-386
101113
image: golang:1.15
102114
environment:

0 commit comments

Comments
 (0)