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

WIP: pipeline

parent 2c4cfb64
No related branches found
No related tags found
No related merge requests found
......@@ -34,9 +34,9 @@ build-testenv:
tags: [ cached-dind ]
image: docker:20.10
stage: setup
only:
- web
script:
- whereis libcmocka
- whereis cmocka
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
# use here general latest or specific branch latest...
- docker pull $CI_REGISTRY_IMAGE|| true
......
FROM debian:latest
RUN apt-get update && \
apt-get install -y cmake
RUN apt-get install -y libcmocka0
RUN apt-get install -y libcmocka-dev
COPY ./ caosdb-clib/
......@@ -3,7 +3,7 @@ set(test_cases
test_connection
)
find_library(cmocka-static libcmocka)
find_library(cmocka-static cmocka)
if (cmocka-static)
message(STATUS "Found pre-installed cmocka: ${cmocka-static}")
elseif (${CMAKE_VERSION} VERSION_LESS "3.14.0")
......
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