From dc8a3db6929c7ae726d5fe7abce7e3819448b575 Mon Sep 17 00:00:00 2001 From: mntchocoluvr <70267033+canikou@users.noreply.github.com> Date: Thu, 19 Feb 2026 14:07:02 +0800 Subject: [PATCH 1/2] trigger CI --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d2825c0..647a08f 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ Use presets first: 2. Build debug: - `cmake --build --preset debug --parallel` 3. Run tests: - - `ctest --preset debug` + - `ctest --preset debug` Convention gate: From 7c81f1ed0359d5daf947bb7684fe3db61a5380a2 Mon Sep 17 00:00:00 2001 From: mntchocoluvr <70267033+canikou@users.noreply.github.com> Date: Thu, 19 Feb 2026 14:22:11 +0800 Subject: [PATCH 2/2] Fix CI: use MSYS2 UCRT64 + install Qt6 --- .github/workflows/ci.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90d31a3..6a3f0f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 + # Optional: keep conventions check (runs with Windows PowerShell) - name: Check Conventions shell: pwsh run: ./scripts/check-conventions.ps1 @@ -25,28 +26,31 @@ jobs: with: msystem: UCRT64 update: true + # IMPORTANT: install MSYS2 into C:\msys64 so your presets (C:/msys64/ucrt64) match CI + location: C:\msys64 install: >- mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-ninja mingw-w64-ucrt-x86_64-qt6-base + # Run build steps inside the MSYS2 UCRT64 environment - name: Configure (Debug) - shell: pwsh + shell: msys2 {0} run: cmake --preset debug - name: Build (Debug) - shell: pwsh + shell: msys2 {0} run: cmake --build --preset debug --parallel - name: Test (Debug) - shell: pwsh - run: ctest --preset debug + shell: msys2 {0} + run: ctest --preset debug --output-on-failure - name: Configure (Release) - shell: pwsh + shell: msys2 {0} run: cmake --preset release - name: Build (Release) - shell: pwsh + shell: msys2 {0} run: cmake --build --preset release --parallel