]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
build: Add a gitlab CI configuration file
authorGuillem Jover <guillem@hadrons.org>
Wed, 30 May 2018 23:45:28 +0000 (01:45 +0200)
committerGuillem Jover <guillem@hadrons.org>
Thu, 31 May 2018 01:23:16 +0000 (03:23 +0200)
.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..03afa11
--- /dev/null
@@ -0,0 +1,22 @@
+image: debian:stretch
+
+before_script:
+  - apt update -qq
+  - apt install build-essential autoconf automake libtool
+
+stages:
+  - autogen
+  - build
+  - test
+
+autogen:
+  stage: autogen
+  script: autoreconf -f -i && ./configure
+
+build:
+  stage: build
+  script: make
+
+test:
+  stage: test
+  script: make check