.gitlab-ci.yml: added i386 build

This introduces an i386 CI build to catch issues that relate
to 32-bit systems.

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
Nikos Mavrogiannopoulos 2020-04-01 15:51:46 +02:00 committed by Nikos Mavrogiannopoulos
parent fc842a8d5d
commit 1759bfdc4f

View File

@ -6,6 +6,7 @@ variables:
BUILD_IMAGES_PROJECT: openconnect/build-images
ALPINE_BUILD: buildenv-alpine
DEBIAN_BUILD: buildenv-debian
DEBIAN_X86_CROSS_BUILD: buildenv-debian-x86
FEDORA_BUILD: buildenv-fedora
UBUNTU16_BUILD: buildenv-ubuntu
UBUNTU20_BUILD: buildenv-ubuntu20
@ -37,6 +38,28 @@ Debian:
- ./*.log
- ./tests/*.log
i386/Debian:
stage: testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_X86_CROSS_BUILD
script:
- git submodule update --init
- autoreconf -fvi
# Radius seems to be malfunctioning on i386 build
- ./configure --enable-oidc-auth --without-radius
- make -j$JOBS
- make check -j$JOBS VERBOSE=1
tags:
- shared
- linux
except:
- tags
artifacts:
expire_in: 1 week
when: on_failure
paths:
- ./*.log
- ./tests/*.log
Ubuntu16.04:
stage: testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$UBUNTU16_BUILD
@ -340,7 +363,7 @@ minimal:
- tests/*.log
# Build a minimal version with every optional feature disable
Ubuntu20.04-minimal:
minimal/Ubuntu20.04:
stage: testing
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$UBUNTU20_BUILD
script: