.gitlab-ci.yml 2.02 KB
Newer Older
1
2
3
4
5
6
7
8
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

Ondřej Kuzník's avatar
Ondřej Kuzník committed
9
10
11
stages:
  - build

12
13
14
15
16
17
18
19
20
21
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

22
build-openssl-heimdal-lloadd:
Ondřej Kuzník's avatar
Ondřej Kuzník committed
23
24
25
  stage: build
  script:
    - apt update
26
    - 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 libevent-dev
27
    - autoreconf
28
    - ./configure --enable-backends=mod --enable-overlays=mod --enable-modules --enable-dynamic --disable-ndb --disable-asyncmeta --enable-balancer=mod
Ondřej Kuzník's avatar
Ondřej Kuzník committed
29
30
31
32
33
34
35
36
37
38
    - 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/
39

40
build-gnutls-mit-standalone-lloadd:
41
42
43
  stage: build
  script:
    - apt update
44
    - 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 libevent-dev
45
    - autoreconf
46
    - ./configure --enable-backends=mod --enable-overlays=mod --disable-autoca --enable-modules --enable-dynamic --disable-ndb --disable-asyncmeta --enable-balancer=yes
47
48
49
50
51
52
53
54
55
56
    - 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/