summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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