From 087685d19b2cb72a4a754ae333963c80a09009ac Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Sat, 5 Sep 2026 23:27:10 -0400 Subject: [PATCH] [CI] (Purity): install libx11-dev for the include-graph-check job - Includes.h defines VK_USE_PLATFORM_XLIB_KHR before vulkan.h, so the clang-mode probes and the negative controls need X11/Xlib.h on the runner; run 34008829271 failed on exactly that --- .github/workflows/test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 30195aa4..80a43fc0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -342,8 +342,11 @@ jobs: # Includes.h reaches; glslang and spirv_cross are vendored under include/. run: git submodule update --init include/ska 3rdparty/xxHash 3rdparty/Vulkan-Headers - - name: Install clang - run: sudo apt-get update && sudo apt-get install -y clang-20 + - name: Install clang and the X11 headers vulkan.h pulls on Linux + # Includes.h defines VK_USE_PLATFORM_XLIB_KHR before , which then + # includes ; without libx11-dev every clang-mode probe dies in the + # preprocessor and the gate reports 5 problems that have nothing to do with purity. + run: sudo apt-get update && sudo apt-get install -y clang-20 libx11-dev - name: Include-closure assertions and negative control run: python3 scripts/check_include_closure.py --mode both --compiler clang++-20 --self-test --require-all