From e6d0b72ce0e2d670d1bb6dcba27f1a28c12edcf6 Mon Sep 17 00:00:00 2001 From: Antoine GIRARD Date: Thu, 1 Aug 2019 18:02:55 +0200 Subject: [PATCH] drone: a test for compat with 32 bit --- .drone.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.drone.yml b/.drone.yml index 73f0080f853d2..dedf4d7410905 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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