From 69bf775c88ebf10f97f41e5160b5e61549f61134 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Tue, 27 Jan 2026 20:36:28 +0100 Subject: [PATCH 1/4] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=E2=99=80=EF=B8=8F=20C?= =?UTF-8?q?lang=20windows=20builds=20to=20solidify=20it=20as=20a=20real=20?= =?UTF-8?q?platform!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/windows-clang-builds.yml | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/windows-clang-builds.yml diff --git a/.github/workflows/windows-clang-builds.yml b/.github/workflows/windows-clang-builds.yml new file mode 100644 index 0000000000..0592009f01 --- /dev/null +++ b/.github/workflows/windows-clang-builds.yml @@ -0,0 +1,36 @@ +name: Windows Builds (Basic - Clang) + +on: [push, pull_request] + +env: + CTEST_OUTPUT_ON_FAILURE: 1 + CTEST_NO_TESTS_ACTION: error + +jobs: + build: + name: ${{matrix.os}}, ${{matrix.std}}, ${{matrix.build_type}}, ${{matrix.platform}} (Clang) + runs-on: ${{matrix.os}} + strategy: + fail-fast: false + matrix: + os: [windows-2022, windows-2025] + platform: [Win32, x64] + build_type: [Debug, Release] + std: [14, 17] + steps: + - uses: actions/checkout@v4 + + - name: Configure build + run: | + cmake --preset all-tests ` + -DCMAKE_CXX_STANDARD=${{matrix.std}} ` + -DCMAKE_C_COMPILER=clang ` + -DCMAKE_CXX_COMPILER=clang++ ` + + - name: Build tests + run: cmake --build build --config ${{matrix.build_type}} --parallel %NUMBER_OF_PROCESSORS% + shell: cmd + + - name: Run tests + run: ctest --test-dir build -C ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS% + shell: cmd From 14896892100b61685eda7c2a4241abc85f2f2676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Wed, 4 Feb 2026 10:36:40 +0100 Subject: [PATCH 2/4] Apply suggestion from @horenmar --- .github/workflows/windows-clang-builds.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows-clang-builds.yml b/.github/workflows/windows-clang-builds.yml index 0592009f01..f8c13c361d 100644 --- a/.github/workflows/windows-clang-builds.yml +++ b/.github/workflows/windows-clang-builds.yml @@ -13,8 +13,8 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-2022, windows-2025] - platform: [Win32, x64] + os: windows-2025 + platform: x64 build_type: [Debug, Release] std: [14, 17] steps: From 40b31afd75bbc03aac3d101cb4dd66964803737f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Wed, 4 Feb 2026 10:39:07 +0100 Subject: [PATCH 3/4] Apply suggestion from @horenmar --- .github/workflows/windows-clang-builds.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows-clang-builds.yml b/.github/workflows/windows-clang-builds.yml index f8c13c361d..c14ef469e0 100644 --- a/.github/workflows/windows-clang-builds.yml +++ b/.github/workflows/windows-clang-builds.yml @@ -13,8 +13,8 @@ jobs: strategy: fail-fast: false matrix: - os: windows-2025 - platform: x64 + os: [windows-2025] + platform: [x64] build_type: [Debug, Release] std: [14, 17] steps: From 3b9f3e5f7830f4ba3e692b05f0814b80c36eb474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rkus=20Dorkus?= Date: Wed, 11 Feb 2026 14:52:55 -0500 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=E2=99=80=EF=B8=8F=20C?= =?UTF-8?q?lang=20windows=20builds=20WITH=20the=20Ninja=20Generator?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/windows-clang-builds.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/windows-clang-builds.yml b/.github/workflows/windows-clang-builds.yml index c14ef469e0..a207e232ce 100644 --- a/.github/workflows/windows-clang-builds.yml +++ b/.github/workflows/windows-clang-builds.yml @@ -24,7 +24,7 @@ jobs: run: | cmake --preset all-tests ` -DCMAKE_CXX_STANDARD=${{matrix.std}} ` - -DCMAKE_C_COMPILER=clang ` + -G Ninja ` -DCMAKE_CXX_COMPILER=clang++ ` - name: Build tests