~singpolyma/biboumi

ce2b8a15f17151c9ecfeebdec205ff2bb9248078 ā€” louizā€™ 8 years ago e8e60b7
ci: Have two builds: on fedora and on debian
2 files changed, 18 insertions(+), 6 deletions(-)

M .gitlab-ci.yml
R docker/biboumi-test/{Dockerfile => fedora/Dockerfile}
M .gitlab-ci.yml => .gitlab-ci.yml +18 -6
@@ 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

R docker/biboumi-test/Dockerfile => docker/biboumi-test/fedora/Dockerfile +0 -0