Commit 08800fcf authored by Kim, Jungwon's avatar Kim, Jungwon
Browse files

added .gitlab-ci.yml

parent e515af94
Loading
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+14 −0
Original line number Diff line number Diff line
before_script:
  - apt-get update -qq && apt-get install -y mpich
  - wget https://cmake.org/files/v3.8/cmake-3.8.2-Linux-x86_64.sh
  - chmod +x cmake-3.8.2-Linux-x86_64.sh
  - printf "Y\nY\n" | ./cmake-3.8.2-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir
  - cmake --version

pkv:
  script:
    - mkdir build
    - cd build
    - cmake ..
    - VERBOSE=1 make
    - ctest -V
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ include_directories(${PROJECT_SOURCE_DIR}/include)

macro(papyruskv_test arg)
    add_executable(kv.${arg} ${arg}.c)
    target_link_libraries(kv.${arg} papyruskv)
    target_link_libraries(kv.${arg} papyruskv pthread)
    add_test(kv.${arg} ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} 4 ./kv.${arg})
    set_tests_properties(kv.${arg} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED")
endmacro(papyruskv_test)