From bda439f20e81cb509b58fd9d82f24fd60732ec02 Mon Sep 17 00:00:00 2001 From: Danyal Ahmed <58849388+danyalahmed1995@users.noreply.github.com> Date: Wed, 24 Jun 2026 02:41:42 +0500 Subject: [PATCH 1/3] Add MinGW GCC CI coverage --- .github/workflows/build.yml | 58 +++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 902e29c5a..34f1160a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -188,3 +188,61 @@ jobs: ctest -j --output-on-failure --test-dir build -C $BUILD_TYPE done done + # MinGW requires a dedicated MSYS2 toolchain and shell. + mingw: + name: Windows x64, MinGW GCC, Ninja + runs-on: windows-2022 + defaults: + run: + shell: msys2 {0} + + steps: + - name: Checkout + uses: actions/checkout@v6.0.0 + with: + submodules: recursive + + - name: Setup CMake and Ninja + uses: lukka/get-cmake@latest + with: + cmakeVersion: 4.3.4 + ninjaVersion: latest + + - name: Setup MinGW + uses: msys2/setup-msys2@v2 + with: + msystem: UCRT64 + update: true + path-type: inherit + install: >- + mingw-w64-ucrt-x86_64-gcc + + - name: Verify MinGW toolchain + run: | + which gcc + which g++ + gcc --version + g++ --version + gcc -dumpmachine + cmake --version + ninja --version + + - name: Generate headers + run: | + cmake -B build-mingw -G Ninja --fresh --preset generator-run \ + -D CMAKE_C_COMPILER=gcc \ + -D CMAKE_CXX_COMPILER=g++ \ + -D CMAKE_BUILD_TYPE=Release + cmake --build build-mingw --parallel --clean-first + + - name: Build and test with C++23 modules + run: | + cmake -B build-mingw -G Ninja --fresh --preset samples-tests \ + -D CMAKE_C_COMPILER=gcc \ + -D CMAKE_CXX_COMPILER=g++ \ + -D CMAKE_CXX_STANDARD=23 \ + -D CMAKE_EXPERIMENTAL_CXX_IMPORT_STD=451f2fe2-a8a2-47c3-bc32-94786d8fc91b \ + -D VULKAN_HPP_BUILD_CXX_MODULE=ON \ + -D CMAKE_BUILD_TYPE=Release + cmake --build build-mingw --parallel --clean-first + ctest -j --output-on-failure --test-dir build-mingw \ No newline at end of file From 4d1c0a90c833f1ac09136bc6580a37929ce8748b Mon Sep 17 00:00:00 2001 From: Danyal Ahmed <58849388+danyalahmed1995@users.noreply.github.com> Date: Fri, 17 Jul 2026 10:16:25 +0500 Subject: [PATCH 2/3] ci: retrigger full build matrix --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 34f1160a6..001a68169 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,7 @@ jobs: run: shell: bash + # Keep the full compiler matrix visible so CI consumers can inspect every job. strategy: matrix: env: [ @@ -245,4 +246,4 @@ jobs: -D VULKAN_HPP_BUILD_CXX_MODULE=ON \ -D CMAKE_BUILD_TYPE=Release cmake --build build-mingw --parallel --clean-first - ctest -j --output-on-failure --test-dir build-mingw \ No newline at end of file + ctest -j --output-on-failure --test-dir build-mingw From d473f90520ed1f441bb922e5377ebc82d7ac217f Mon Sep 17 00:00:00 2001 From: Danyal Ahmed <58849388+danyalahmed1995@users.noreply.github.com> Date: Fri, 17 Jul 2026 10:50:38 +0500 Subject: [PATCH 3/3] ci: trigger Vulkan-Hpp matrix smoke test --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 001a68169..215d77a49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,7 @@ jobs: shell: bash # Keep the full compiler matrix visible so CI consumers can inspect every job. + # Matrix smoke-test push marker: behavior and coverage remain unchanged. strategy: matrix: env: [