.gitlab-ci.yml 465 Bytes
Newer Older
1
image: "pmem/libpmemobj-cpp:fedora-30"
2
3
4
5
6
7

stages:
  - build
  - test

before_script:
8
#  - echo pass | sudo -S dnf update -y
9
  - echo pass | sudo -S dnf install -y cmake
10
  - echo pass | sudo -S dnf install -y libpmemobj++-devel
11
12
  - echo pass | sudo -S mkdir -p /mnt/pmem/test
  - echo pass | sudo -S chmod 777 /mnt/pmem/test
13
14
15
16
17
18
19
20
21
22
23
24
25
26

build:
  stage: build
  script:
    - mkdir build
    - cd build
    - cmake ../src
    - make -j

test:
  stage: test
  script:
    - ctest