~singpolyma/biboumi

ref: abedca196fffb5904f2b01fc0237600fe939168a biboumi/.gitlab-ci.yml -rw-r--r-- 1.1 KiB
abedca19 — Emmanuel Gil Peyrot Make the default config file put the database in /var/lib 6 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
stages:
- build

before_script:
  - uname -a
  - whoami
  - echo $LANG
  - g++ --version
  - clang++ --version
  - mkdir build
  - cd build

build:fedora:
  stage: build
  image: biboumi-test-fedora: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
    - make rpm -j$(nproc)
  artifacts:
    paths:
      - build/coverage/
      - build/rpmbuild/RPMS
      - build/rpmbuild/SRPMS
      - 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/