Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Kim, Jungwon
papyrus
Commits
08800fcf
Commit
08800fcf
authored
May 07, 2018
by
Kim, Jungwon
Browse files
added .gitlab-ci.yml
parent
e515af94
Pipeline
#13317
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
08800fcf
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
kv/tests/CMakeLists.txt
View file @
08800fcf
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment