.gitlab-ci.yml 418 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
    - cmake -DCMAKE_CXX_FLAGS="-g -O0 -fprofile-arcs -ftest-coverage" ../src
13
    - make -j
14
15
  artifacts:
    paths:
16
      - build/
17
18
19
20

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