From 35e3068846ebb269f26e84a54b45b787924bed11 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Thu, 18 Jun 2026 20:46:54 +0200
Subject: [PATCH] ci: disable clang-tidy on Ubuntu 22.04
Its clang-tidy is not compatible with c++17, required by Qt6
---
.github/workflows/create-test-plan.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/create-test-plan.py b/.github/workflows/create-test-plan.py
index 6b1c4ef232756..c4d10524ad5a6 100755
--- a/.github/workflows/create-test-plan.py
+++ b/.github/workflows/create-test-plan.py
@@ -496,11 +496,13 @@ def spec_to_job(spec: JobSpec, key: str, trackmem_symbol_names: bool, ctest_args
"libswscale-dev",
))
match = re.match(r"ubuntu-(?P<year>[0-9]+)\.(?P<month>[0-9]+|latest).*", spec.os.value)
- ubuntu_ge_22 = True
+ ubuntu_ge_24 = True
if match and match["month"] != "latest":
ubuntu_year, ubuntu_month = [int(match["year"]), int(match["month"])]
- ubuntu_ge_22 = ubuntu_year >= 22
+ ubuntu_ge_24 = ubuntu_year >= 24
job.apt_packages.extend(("libpipewire-0.3-dev", "libdecor-0-dev"))
+ if not ubuntu_ge_24:
+ job.clang_tidy = False
job.apt_packages.extend((
"libunwind-dev", # For SDL_test memory tracking
))