.gitlab-ci.yml 586 Bytes
Newer Older
1
image: "dbisilm/nvm-based_data_structures:latest"
2
3
4
5
6
7
8
9
10
11

stages:
  - build
  - test

build:
  stage: build
  script:
    - mkdir build
    - cd build
12
13
    - cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-g -O0 -fprofile-arcs -ftest-coverage" ../src
    - make
14
15
16
    # clean up unnecessary files and strip binaries
    - rm -rf _deps *tree generated
    - strip bench/point bench/scan bench/tree_* test/*Test
17
18
  artifacts:
    paths:
19
      - build/
20
21
22
23

test:
  stage: test
  script:
24
25
    - echo pass | sudo -S mkdir -m 777 -p /mnt/pmem/test
    - cd build
26
    - ctest
27
28
  dependencies:
    - build
29