2020-11-21 05:33:37 +08:00
|
|
|
workflow:
|
|
|
|
rules:
|
|
|
|
- if: '$CI_COMMIT_REF_NAME == "master" && $CI_PROJECT_NAMESPACE != "openldap"'
|
|
|
|
when: never
|
|
|
|
- if: '$CI_COMMIT_REF_NAME == "OPENLDAP_REL_ENG_2_5" && $CI_PROJECT_NAMESPACE != "openldap"'
|
|
|
|
when: never
|
|
|
|
- when: always
|
|
|
|
|
2020-04-03 17:27:03 +08:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
2020-05-19 01:51:18 +08:00
|
|
|
build-no-threads-no-slapd:
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- apt update
|
|
|
|
- DEBIAN_FRONTEND=noninteractive apt install -y build-essential autoconf groff-base libsasl2-dev libssl-dev
|
|
|
|
- autoreconf
|
|
|
|
- ./configure --without-threads --disable-slapd
|
|
|
|
- make depend
|
|
|
|
- make
|
|
|
|
|
2020-10-08 19:05:35 +08:00
|
|
|
build-openssl-heimdal-lloadd:
|
2020-04-03 17:27:03 +08:00
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- apt update
|
2021-03-02 04:41:46 +08:00
|
|
|
- DEBIAN_FRONTEND=noninteractive apt install -y build-essential python3 gdb procps 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 libevent-dev libargon2-dev
|
2020-04-10 22:42:50 +08:00
|
|
|
- autoreconf
|
2021-04-03 21:57:06 +08:00
|
|
|
- mkdir obj
|
|
|
|
- cd obj
|
|
|
|
- ../configure --enable-backends=mod --enable-overlays=mod --enable-modules --enable-dynamic --disable-ndb --enable-balancer=mod --enable-argon2
|
2020-04-03 17:27:03 +08:00
|
|
|
- make depend
|
|
|
|
- make
|
2021-03-25 17:20:38 +08:00
|
|
|
- export DEBUGINFOD_URLS="${DEBUGINFOD_URLS-https://debuginfod.debian.net}"
|
2020-04-03 17:27:03 +08:00
|
|
|
- ulimit -n 4096 # back-monitor takes a while scanning a long connections array
|
2021-02-22 22:44:18 +08:00
|
|
|
- SLAPD_COMMON_WRAPPER=gdb make test
|
2020-04-03 17:27:03 +08:00
|
|
|
artifacts:
|
|
|
|
name: testdir
|
|
|
|
when: on_failure
|
|
|
|
expire_in: '1 week'
|
|
|
|
paths:
|
2021-04-03 21:57:06 +08:00
|
|
|
- obj/tests/testrun/
|
|
|
|
- obj/servers/
|
2020-04-14 22:32:36 +08:00
|
|
|
|
2020-10-08 19:05:35 +08:00
|
|
|
build-gnutls-mit-standalone-lloadd:
|
2020-04-14 22:32:36 +08:00
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- apt update
|
2021-03-02 04:41:46 +08:00
|
|
|
- DEBIAN_FRONTEND=noninteractive apt install -y build-essential python3 gdb procps 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 libevent-dev libargon2-dev
|
2020-04-14 22:32:36 +08:00
|
|
|
- autoreconf
|
2021-04-03 21:57:06 +08:00
|
|
|
- mkdir obj
|
|
|
|
- cd obj
|
|
|
|
- ../configure --enable-backends=mod --enable-overlays=mod --disable-autoca --enable-modules --enable-dynamic --disable-ndb --enable-balancer=yes --enable-argon2
|
2020-04-14 22:32:36 +08:00
|
|
|
- make depend
|
|
|
|
- make
|
2021-03-25 17:20:38 +08:00
|
|
|
- export DEBUGINFOD_URLS="${DEBUGINFOD_URLS-https://debuginfod.debian.net}"
|
2020-04-14 22:32:36 +08:00
|
|
|
- ulimit -n 4096 # back-monitor takes a while scanning a long connections array
|
2021-02-22 22:44:18 +08:00
|
|
|
- SLAPD_COMMON_WRAPPER=gdb make test
|
2020-04-14 22:32:36 +08:00
|
|
|
artifacts:
|
|
|
|
name: testdir
|
|
|
|
when: on_failure
|
|
|
|
expire_in: '1 week'
|
|
|
|
paths:
|
2021-04-03 21:57:06 +08:00
|
|
|
- obj/tests/testrun/
|
|
|
|
- obj/servers/
|