From 2c4cfb641241ac914948827f9d808d860c87dbec Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Tue, 18 May 2021 21:00:33 +0200
Subject: [PATCH] WIP: pipeline

---
 .gitlab-ci.yml      | 2 ++
 test/CMakeLists.txt | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index de907ac..67c1280 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,6 +34,8 @@ build-testenv:
   tags: [ cached-dind ]
   image: docker:20.10
   stage: setup
+  only:
+    - web
   script:
     - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
       # use here general latest or specific branch latest...
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 1ac6166..1f2e958 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -3,7 +3,7 @@ set(test_cases
     test_connection
     )
 
-find_library(cmocka-static cmocka)
+find_library(cmocka-static libcmocka)
 if (cmocka-static)
     message(STATUS "Found pre-installed cmocka: ${cmocka-static}")
 elseif (${CMAKE_VERSION} VERSION_LESS "3.14.0")
-- 
GitLab