From dea182c740ab27eeb10c0a38dc15c008799d090e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Thu, 10 Oct 2024 23:33:29 -0400
Subject: [PATCH] Add SyncTERM CMake test build.

So we can be sure it keeps working.
---
 .gitlab-ci-unix.yml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/.gitlab-ci-unix.yml b/.gitlab-ci-unix.yml
index 87265e8a01..163c6bc746 100644
--- a/.gitlab-ci-unix.yml
+++ b/.gitlab-ci-unix.yml
@@ -505,6 +505,23 @@ spec:
     - job: "$[[ inputs.os ]]-$[[ inputs.platform ]] [uifc]"
     - job: "$[[ inputs.os ]]-$[[ inputs.platform ]] [xpdev]"
 
+"$[[ inputs.os ]]-$[[ inputs.platform ]] [syncterm-cmake]":
+  extends:
+    - .$[[ inputs.os ]]-build
+  script:
+    - tar -xzf "/tmp/gitlab-runner/$[[ inputs.os ]]-$[[ inputs.platform ]]-${CI_PIPELINE_ID}/cryptlib.tgz"
+    - cd src/syncterm
+    - mkdir build
+    - cd build
+    - cmake ..
+    - cmake --build .
+  artifacts:
+    name: "syncterm-cmake-$[[ inputs.os ]]-$[[ inputs.platform ]]"
+    paths:
+      - "src/syncterm/build/syncterm*"
+  needs:
+    - job: "$[[ inputs.os ]]-$[[ inputs.platform ]] [cryptlib]"
+
 "$[[ inputs.os ]]-$[[ inputs.platform ]] [syncdraw]":
   extends:
     - .$[[ inputs.os ]]-build
-- 
GitLab