]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#6207 Add GitLab CI
authorOndřej Kuzník <ondra@mistotebe.net>
Fri, 3 Apr 2020 09:27:03 +0000 (10:27 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 6 Apr 2020 18:35:22 +0000 (18:35 +0000)
.gitlab-ci.yml [new file with mode: 0644]

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644 (file)
index 0000000..9d78986
--- /dev/null
@@ -0,0 +1,19 @@
+stages:
+  - build
+
+build:
+  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
+    - ./configure --enable-backends=mod --enable-overlays=mod --enable-modules --enable-dynamic --disable-ndb
+    - 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/