.gitlab-ci.yml 1.38 KB
Newer Older
Ondřej Kuzník's avatar
Ondřej Kuzník committed
1
2
3
stages:
  - build

4
build1:
Ondřej Kuzník's avatar
Ondřej Kuzník committed
5
6
7
  stage: build
  script:
    - apt update
8
    - 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
9
    - autoreconf
10
    - ./configure --enable-backends=mod --enable-overlays=mod --enable-modules --enable-dynamic --disable-ndb --disable-asyncmeta
Ondřej Kuzník's avatar
Ondřej Kuzník committed
11
12
13
14
15
16
17
18
19
20
    - 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/
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

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/