ci/msys2: add build with -ftrivial-auto-var-init

Just to catch uninitialized variables early. Build all three                                                                                          unint/zero/pattern to compare the results between them and we don't                                                                                   accidentally depend on implicit initialization in tests.
This commit is contained in:
Kacper Michajłow committed 2026-01-18 12:59:16 +01:00
1 parent 5fbd1caee2
commit 5f6d5b3b7e
2 files changed
+15

No files matched your search

+8
View File
@@ -572,9 +572,16 @@ jobs:
include:
- sys: "clang64"
os: "windows-latest"
auto-var-init: "uninitialized"
- sys: "clang64"
os: "windows-latest"
asan: true
- sys: "clang64"
os: "windows-latest"
auto-var-init: "zero"
- sys: "clang64"
os: "windows-latest"
auto-var-init: "pattern"
- sys: "mingw64"
os: "windows-latest"
- sys: "ucrt64"
@@ -631,6 +638,7 @@ jobs:
env:
SYS: ${{ matrix.sys }}
ASAN: ${{ matrix.asan }}
AUTO_VAR_INIT: ${{ matrix.auto-var-init }}
- name: Print meson log
if: ${{ failure() && steps.build.outcome == 'failure' }}