From 807edcace8d13d0ca23790d8055c98c1a2d9ef7d Mon Sep 17 00:00:00 2001 From: firewave Date: Tue, 24 Mar 2026 07:46:58 +0100 Subject: [PATCH 1/2] iwyu.yml: use `fedora:rawhide` to get the very latest packages --- .github/workflows/iwyu.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/iwyu.yml b/.github/workflows/iwyu.yml index fa9be0cbba8..373ecaf1613 100644 --- a/.github/workflows/iwyu.yml +++ b/.github/workflows/iwyu.yml @@ -15,15 +15,15 @@ jobs: strategy: matrix: - # "opensuse/tumbleweed:latest" / "fedora:latest" / "debian:unstable" / "archlinux:latest" + # "opensuse/tumbleweed:latest" / "fedora:rawhide" / "debian:unstable" / "archlinux:latest" include: - os: ubuntu-22.04 - image: "fedora:latest" + image: "fedora:rawhide" stdlib: libstdc++ clang_inc: '-isystem/usr/lib/clang/20/include' # TODO: disable because it currently fails with "error: tried including but didn't find libc++'s header." #- os: ubuntu-22.04 - # image: "fedora:latest" + # image: "fedora:rawhide" # stdlib: libc++ # clang_inc: '-isystem/usr/lib/clang/20/include' - os: macos-26 From d2be9c83cdae0d302ad66b7bd8e62798ced6317b Mon Sep 17 00:00:00 2001 From: firewave Date: Tue, 24 Mar 2026 07:52:59 +0100 Subject: [PATCH 2/2] iwyu.yml: dropped some workarounds [skip ci] --- .github/workflows/iwyu.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/iwyu.yml b/.github/workflows/iwyu.yml index 373ecaf1613..ed6971128f5 100644 --- a/.github/workflows/iwyu.yml +++ b/.github/workflows/iwyu.yml @@ -20,12 +20,9 @@ jobs: - os: ubuntu-22.04 image: "fedora:rawhide" stdlib: libstdc++ - clang_inc: '-isystem/usr/lib/clang/20/include' - # TODO: disable because it currently fails with "error: tried including but didn't find libc++'s header." - #- os: ubuntu-22.04 - # image: "fedora:rawhide" - # stdlib: libc++ - # clang_inc: '-isystem/usr/lib/clang/20/include' + - os: ubuntu-22.04 + image: "fedora:rawhide" + stdlib: libc++ - os: macos-26 image: "" stdlib: libc++ # no libstdc++ on macOS @@ -150,8 +147,7 @@ jobs: - name: iwyu_tool run: | - # TODO: remove -stdlib= - it should have been taken from the compilation database - iwyu_tool -p cmake.output -j $(nproc) -- -w -Xiwyu --max_line_length=1024 -Xiwyu --comment_style=long -Xiwyu --quoted_includes_first -Xiwyu --update_comments -stdlib=${{ matrix.stdlib }} ${{ matrix.mapping_file_opt }} ${{ matrix.clang_inc }} > iwyu.log + iwyu_tool -p cmake.output -j $(nproc) -- -w -Xiwyu --max_line_length=1024 -Xiwyu --comment_style=long -Xiwyu --quoted_includes_first -Xiwyu --update_comments ${{ matrix.mapping_file_opt }} ${{ matrix.clang_inc }} > iwyu.log # TODO: run with all configurations - name: test/cfg