From 4a5968db77587c2a6d8a25901c0943e25bb39613 Mon Sep 17 00:00:00 2001
From: John Hodge <tpg@ucc.asn.au>
Date: Sun, 19 Sep 2021 15:00:11 +0800
Subject: [PATCH] Gitlab CI - Install libraries for test properly

---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c16ff8e..da4f6c6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,6 +26,7 @@ build:
 test:
   stage: test
   before_script:
-    - apt update && apt -y install libncurses libmodbus libsqlite3 libident netcat
+    # Install the -dev versions to avoid needing to find the actual library names
+    - apt update && apt -y install libncurses-dev libmodbus-dev libsqlite3-dev libident netcat
   script:
     - cd tests && ./TEST_basic.sh
-- 
GitLab