aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml51
1 files changed, 51 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..6d64457
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,51 @@
+stages:
+ - build-test-all
+
+arch:
+ image: base/archlinux
+ stage: build-test-all
+ before_script:
+ - pacman --noconfirm -Syu base-devel clang python
+ script:
+ - make CC=gcc clean all test
+ - make CC=clang clean all test
+
+debian-stable:
+ image: debian:stable
+ stage: build-test-all
+ before_script:
+ - apt-get update
+ - apt-get -y install build-essential clang libssl-dev openssl
+ script:
+ - make CC=gcc clean all test
+ - make CC=clang clean all test
+
+ubuntu-trusty:
+ image: ubuntu:trusty
+ stage: build-test-all
+ before_script:
+ - apt-get update
+ - apt-get -y install build-essential clang libssl-dev openssl
+ script:
+ - make CC=gcc clean all test
+ - make CC=clang clean all test
+
+ubuntu-xenial:
+ image: ubuntu:xenial
+ stage: build-test-all
+ before_script:
+ - apt-get update
+ - apt-get -y install build-essential clang libssl-dev openssl
+ script:
+ - make CC=gcc clean all test
+ - make CC=clang clean all test
+
+ubuntu-latest:
+ image: ubuntu:latest
+ stage: build-test-all
+ before_script:
+ - apt-get update
+ - apt-get -y install build-essential clang libssl-dev openssl
+ script:
+ - make CC=gcc clean all test
+ - make CC=clang clean all test