summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2022-10-29 04:14:29 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2022-10-31 12:00:53 +0100
commite320149c39369a6b9cdcaf6cb7b719d6eae3d2f3 (patch)
treebcc807f62b1bc9419d5aa34d6de712d09e697681 /.gitlab-ci
parent345fbe0666a3b885b0080fef5756cacd0e64fe37 (diff)
downloadglib-e320149c39369a6b9cdcaf6cb7b719d6eae3d2f3.tar.gz
ci: Add an msys2-clang64 job to run only on schedules
It has enough particularities to require a job to monitor failures
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x[-rw-r--r--].gitlab-ci/test-msys2.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/.gitlab-ci/test-msys2.sh b/.gitlab-ci/test-msys2.sh
index c834e81ad..85394a754 100644..100755
--- a/.gitlab-ci/test-msys2.sh
+++ b/.gitlab-ci/test-msys2.sh
@@ -32,7 +32,15 @@ PATH="$(cygpath "$USERPROFILE")/.local/bin:$HOME/.local/bin:$PATH"
DIR="$(pwd)"
export PATH CFLAGS
-meson --werror --buildtype debug _build
+if [[ "$MSYSTEM" == "CLANG64" ]]; then
+ # FIXME: fix the clang build warnings
+ # shellcheck disable=SC2086
+ meson ${MESON_COMMON_OPTIONS} _build
+else
+ # shellcheck disable=SC2086
+ meson ${MESON_COMMON_OPTIONS} --werror _build
+fi
+
cd _build
ninja