~singpolyma/biboumi

4cd97f7e88e31103f224d28cee84e78b7a35c2e7 — Florent Le Coz 8 years ago 3391764
Simplify the ci file
1 files changed, 17 insertions(+), 30 deletions(-)

M .gitlab-ci.yml
M .gitlab-ci.yml => .gitlab-ci.yml +17 -30
@@ 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