From 4cd97f7e88e31103f224d28cee84e78b7a35c2e7 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Wed, 17 Feb 2016 19:43:54 +0100 Subject: Simplify the ci file --- .gitlab-ci.yml | 47 +++++++++++++++++------------------------------ 1 file changed, 17 insertions(+), 30 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2ecbbc6..b543d08 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,37 +1,24 @@ +stages: +- build + before_script: - - mkdir build && cd build/ + - g++ --version + - clang++ --version + - uname -a -coverage_botan_cares_systemd_idn: +build: + stage: build script: - - cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITH_BOTAN=1 -DWITH_CARES=1 -DWITH_SYSTEMD=1 -DWITH_LIBIDN=1 - - make -j$(nproc) biboumi coverage + - mkdir build + - cd build + - cmake .. -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=Debug -DWITH_BOTAN=1 -DWITH_CARES=1 -DWITH_SYSTEMD=1 -DWITH_LIBIDN=1 -DWITH_LITESQL=1 + - make biboumi -j$(nproc) + - make rpm + - make check -j$(nproc) + artifacts: + paths: + - build/rpmbuild/RPMS/ -botan_cares_systemd: - script: - - cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITH_BOTAN=1 -DWITH_CARES=1 -DWITH_SYSTEMD=1 -DWITHOUT_LIBIDN=1 - - make -j$(nproc) biboumi check -botan_cares_idn: - script: - - cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITH_BOTAN=1 -DWITH_CARES=1 -DWITHOUT_SYSTEMD=1 -DWITH_LIBIDN=1 - - make -j$(nproc) biboumi check -botan_systemd_idn: - script: - - cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITH_BOTAN=1 -DWITHOUT_CARES=1 -DWITH_SYSTEMD=1 -DWITH_LIBIDN=1 - - make -j$(nproc) biboumi check -cares_systemd_idn: - script: - - cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITHOUT_BOTAN=1 -DWITH_CARES=1 -DWITH_SYSTEMD=1 -DWITH_LIBIDN=1 - - make -j$(nproc) biboumi check - -cares_systemd: - script: - - cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITHOUT_BOTAN=1 -DWITH_CARES=1 -DWITH_SYSTEMD=1 -DWITHOUT_LIBIDN=1 - - make -j$(nproc) biboumi check - -rpm: - script: - - cmake .. - - make rpm \ No newline at end of file -- cgit v1.2.3