From 25925684c21de7494d4973b1799f5bd121014518 Mon Sep 17 00:00:00 2001
From: Anjan Chanda <anjan.chanda@iopsys.eu>
Date: Wed, 28 Aug 2024 12:30:32 +0200
Subject: [PATCH] CI: check build for EASYMESH_VERSION 2 to 6

Signed-off-by: Anjan Chanda <anjan.chanda@iopsys.eu>
---
 gitlab-ci/compile-warns.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gitlab-ci/compile-warns.sh b/gitlab-ci/compile-warns.sh
index b64e0196..ffefb628 100755
--- a/gitlab-ci/compile-warns.sh
+++ b/gitlab-ci/compile-warns.sh
@@ -5,4 +5,7 @@ echo "compile warns stage"
 pwd
 
 cd src/
-CFLAGS="-DHAS_UBUS -DEXTENSION_ALLOWED" make
+for v in {2..6}; do {
+	CFLAGS="-DHAS_UBUS -DEXTENSION_ALLOWED -DEASYMESH_VERSION=$v" make;
+	CFLAGS="-DHAS_UBUS -DEXTENSION_ALLOWED -DEASYMESH_VERSION=$v" make clean;
+}; done
-- 
GitLab