Use MSVC for the meson build in windows CI.

This commit is contained in:
Bartosz Taudul
2026-08-27 18:42:09 +02:00
parent 0f65035ef3
commit 031ef02614

View File

@@ -35,7 +35,13 @@ jobs:
- name: Install meson
run: python -m pip install --upgrade meson
- name: Library (meson)
env:
CCACHE_DISABLE: '1'
run: |
$vs = & "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath
foreach ($line in & cmd /c "`"$vs\VC\Auxiliary\Build\vcvarsall.bat`" x64 && set") {
if ($line -match '^([^=]+)=(.*)$') { [Environment]::SetEnvironmentVariable($matches[1], $matches[2], 'Process') }
}
meson setup -Dtracy_enable=true build-meson
meson compile -C build-meson
- name: Test application