gitlab: add krb5 packages for gssapi tests and a second build

This commit is contained in:
Isaac Boukris 2020-04-14 17:32:36 +03:00
parent 8e3e85e329
commit 3dd0d77d1a

View File

@ -1,11 +1,11 @@
stages:
- build
build:
build1:
stage: build
script:
- apt update
- apt install -y build-essential pkg-config automake libsasl2-dev heimdal-multidev libssl-dev libltdl-dev groff-base unixodbc-dev libwiredtiger-dev libperl-dev
- DEBIAN_FRONTEND=noninteractive apt install -y build-essential pkg-config automake libsasl2-dev heimdal-multidev libssl-dev libltdl-dev groff-base unixodbc-dev libwiredtiger-dev libperl-dev heimdal-kdc libsasl2-modules-gssapi-heimdal sasl2-bin
- autoreconf
- ./configure --enable-backends=mod --enable-overlays=mod --enable-modules --enable-dynamic --disable-ndb --disable-asyncmeta
- make depend
@ -18,3 +18,21 @@ build:
expire_in: '1 week'
paths:
- tests/testrun/
build2:
stage: build
script:
- apt update
- DEBIAN_FRONTEND=noninteractive apt install -y build-essential pkg-config automake libsasl2-dev libltdl-dev groff-base unixodbc-dev libwiredtiger-dev libperl-dev krb5-user krb5-kdc krb5-admin-server libsasl2-modules-gssapi-mit sasl2-bin libgnutls28-dev
- autoreconf
- ./configure --enable-backends=mod --enable-overlays=mod --disable-autoca --enable-modules --enable-dynamic --disable-ndb --disable-asyncmeta
- make depend
- make
- ulimit -n 4096 # back-monitor takes a while scanning a long connections array
- make test
artifacts:
name: testdir
when: on_failure
expire_in: '1 week'
paths:
- tests/testrun/