Skip to content
Snippets Groups Projects
Verified Commit 5d3fb056 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: pipeline

parent 04f4bfbc
No related branches found
No related tags found
No related merge requests found
FROM debian:latest FROM debian:latest
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y \ apt-get install -y cmake
cmake RUN apt-get install -y libcmocka0
COPY ./ caosdb-clib/ COPY ./ caosdb-clib/
...@@ -8,9 +8,9 @@ if (cmocka-static) ...@@ -8,9 +8,9 @@ if (cmocka-static)
message(STATUS "Found pre-installed cmocka: ${cmocka-static}") message(STATUS "Found pre-installed cmocka: ${cmocka-static}")
elseif (${CMAKE_VERSION} VERSION_LESS "3.14.0") elseif (${CMAKE_VERSION} VERSION_LESS "3.14.0")
message(FATAL_ERROR message(FATAL_ERROR
"Failed to run tests. A pre-installed cmocka could not be found and "Failed to run tests. A pre-installed cmocka could not be found and
your cmake version is prior to 3.14. Please consider to upgrade you your cmake version is prior to 3.14. Please consider to upgrade you
cmake (>=3.14) or install cmocka.") cmake (>=3.14) or install cmocka.")
else () else ()
include(FetchCMocka) include(FetchCMocka)
endif () endif ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment