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

added .gitlab-ci.yml

parent e515af94
Pipeline #13317 canceled with stage
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
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment