summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2016-02-17 19:43:54 +0100
committerFlorent Le Coz <louiz@louiz.org>2016-02-17 20:21:02 +0100
commit4cd97f7e88e31103f224d28cee84e78b7a35c2e7 (patch)
tree8573736df40ccfb80f41792015b0388f99a74be6
parent339176449f8fe4c5258d65e8a02095617e99b6a6 (diff)
downloadbiboumi-4cd97f7e88e31103f224d28cee84e78b7a35c2e7.tar.gz
biboumi-4cd97f7e88e31103f224d28cee84e78b7a35c2e7.tar.bz2
biboumi-4cd97f7e88e31103f224d28cee84e78b7a35c2e7.tar.xz
biboumi-4cd97f7e88e31103f224d28cee84e78b7a35c2e7.zip
Simplify the ci file
-rw-r--r--.gitlab-ci.yml47
1 files 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