diff options
author | David Phillips <david@sighup.nz> | 2018-06-18 22:17:43 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-06-18 23:17:17 +1200 |
commit | 635a339ca955c52f6cacfd1436b007942eecb851 (patch) | |
tree | 914c9f019c4ab720e7c7ecccaf1964ab683a338e | |
parent | e6922a8420f85c0324465abcbc64b754379a7c50 (diff) | |
download | sand-leek-635a339ca955c52f6cacfd1436b007942eecb851.tar.xz |
Add gitlab CI file
-rw-r--r-- | .gitlab-ci.yml | 51 |
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 |