From 67c30f6c6cb76ffb973fdf8127f9e908e97c0772 Mon Sep 17 00:00:00 2001
From: Alberto Nidasio <alberto.nidasio@skywarder.eu>
Date: Wed, 16 Nov 2022 12:07:28 +0100
Subject: [PATCH] Added build state to pipeline

---
 .gitlab-ci.yml | 12 +++++++++++-
 sbs            |  2 +-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ffd9b0a8..41445bf3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,8 +23,18 @@ variables:
   GIT_SUBMODULE_STRATEGY: recursive
 
 stages:
+  - build
   - lint
 
+# Stage build
+
+build:
+  stage: build
+  tags:
+    - qt
+  script:
+    - ./sbs
+
 # Stage lint
 
 cppcheck:
@@ -46,4 +56,4 @@ find:
   tags:
     - miosix
   script:
-    - ./scripts/linter.py --find src
+    - ./scripts/linter.py --find src
\ No newline at end of file
diff --git a/sbs b/sbs
index d88d8602..50d9e66d 100755
--- a/sbs
+++ b/sbs
@@ -315,7 +315,7 @@ EOF
 }
 
 CMAKE_FILENAME="CMakeCache.txt"
-CMAKE_PREFIX_PATH="~/Qt/5.15.2/clang_64/lib/cmake/"
+CMAKE_PREFIX_PATH="/opt/5.15.2/gcc_64/lib/cmake/"
 DEBUG_FILENAME=".sbsdebug"
 VERBOSE_FILENAME=".sbsverbose"
 BUILD_DIRNAME="build"
-- 
GitLab