.gitlab-ci.yml 671 Bytes
Newer Older
louiz’'s avatar
louiz’ committed
1 2 3
stages:
- build

louiz’'s avatar
louiz’ committed
4
before_script:
louiz’'s avatar
louiz’ committed
5 6 7
  - uname -a
  - whoami
  - echo $LANG
louiz’'s avatar
louiz’ committed
8 9
  - g++ --version
  - clang++ --version
louiz’'s avatar
louiz’ committed
10

louiz’'s avatar
louiz’ committed
11 12
build:
  stage: build
louiz’'s avatar
louiz’ committed
13
  script:
louiz’'s avatar
louiz’ committed
14 15 16
    - whoami
    - echo $LANG
    - echo $PATH
louiz’'s avatar
louiz’ committed
17 18 19 20
    - 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)
louiz’'s avatar
louiz’ committed
21
    - make coverage -j$(nproc)
louiz’'s avatar
louiz’ committed
22
    - make check -j$(nproc)
23
    - mkdir tests_outputs && pushd tests_outputs && make e2e -j$(nproc) -C .. && popd
louiz’'s avatar
louiz’ committed
24
    - make rpm -j$(nproc)
louiz’'s avatar
louiz’ committed
25 26
  artifacts:
    paths:
27 28 29
      - build/coverage/
      - build/rpmbuild/
      - build/tests_outputs/