drone: a test for compat with 32 bit (#7707)

This commit is contained in:
Antoine GIRARD 2019-08-01 20:00:12 +02:00 committed by techknowlogick
parent e503794371
commit c1b09c30f0
1 changed files with 10 additions and 0 deletions

View File

@ -69,6 +69,16 @@ steps:
commands:
- go build -mod=vendor -o gitea_no_gcc # test if build succeeds without the sqlite tag
- name: build-linux-386
pull: always
image: golang:1.12
environment:
GO111MODULE: on
GOOS: linux
GOARCH: 386
commands:
- go build -mod=vendor -o gitea_linux_386 # test if compatible with 32 bit
- name: build
pull: always
image: golang:1.12