From c1b09c30f092b03e4cd03f8081c4a8c71f593a8d Mon Sep 17 00:00:00 2001
From: Antoine GIRARD <sapk@users.noreply.github.com>
Date: Thu, 1 Aug 2019 20:00:12 +0200
Subject: [PATCH] drone: a test for compat with 32 bit (#7707)

---
 .drone.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.drone.yml b/.drone.yml
index 73f0080f85..dedf4d7410 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