Commit 4cd97f7e authored by louiz’'s avatar louiz’

Simplify the ci file

parent 33917644
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment