Commit ce2b8a15 authored by louiz’'s avatar louiz’ 🐗

ci: Have two builds: on fedora and on debian

parent e8e60b71
......@@ -7,15 +7,13 @@ before_script:
- echo $LANG
- g++ --version
- clang++ --version
- mkdir build
- cd build
build:
build:fedora:
stage: build
image: biboumi-test-fedora:latest
script:
- whoami
- echo $LANG
- echo $PATH
- 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 coverage -j$(nproc)
......@@ -27,3 +25,17 @@ build:
- build/coverage/
- build/rpmbuild/
- build/tests_outputs/
build:debian:
stage: build
image: biboumi-test-debian:latest
script:
- 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 coverage -j$(nproc)
- make check -j$(nproc)
- mkdir tests_outputs && pushd tests_outputs && make e2e -j$(nproc) -C .. && popd
artifacts:
paths:
- build/coverage/
- build/tests_outputs/
\ 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