[ci] Try size optimization in the x86 MSVC job

Use Meson optimization=1 (/O1) for x86 while retaining optimization=3
(/O2 /Gw) for amd64. Keep the two existing jobs and their tests, and set
b_ndebug=true explicitly to preserve the previous release assertion
setting when the x86 build type becomes custom.

This is a CI compile-time experiment; dependency-prefix builds remain
release builds and the amd64 job retains optimized MSVC coverage.

Validation: actionlint, option/matrix checks, and meson test -C build
(302 passed, one skipped). Native compiler timing remains for CI.

Assisted-by: OpenAI Codex
This commit is contained in:
Behdad Esfahbod committed 2026-11-11 18:57:55 -06:00
1 parent 00bd61d584
commit 95df2ee9f3
1 file changed
+4
+4
View File
@@ -26,9 +26,11 @@ jobs:
- name: msvc-2025-x86
os: windows-2025
ARCH: x86
OPTIMIZATION: 1
- name: msvc-2025-amd64
os: windows-2025
ARCH: amd64
OPTIMIZATION: 3
name: ${{ matrix.name }}
steps:
@@ -88,6 +90,8 @@ jobs:
meson setup build `
--wrap-mode=nofallback `
--buildtype=release `
-Doptimization=${{ matrix.OPTIMIZATION }} `
-Db_ndebug=true `
-Dglib=enabled `
-Dcairo=disabled `
-Dicu=disabled `