CI: fix msvc build

The Windows image for some reason now contains a zlib and freetype build
which meson finds and tries to use. Force meson to use the subprojects always
to avoid picking up system libs.
This commit is contained in:
Christoph Reiter 2022-11-29 18:29:46 +01:00 committed by Behdad Esfahbod
parent 7a004a7ac2
commit 8f41b6a139
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-2019, windows-latest]
include:
@ -45,7 +46,7 @@ jobs:
$env:path = ($env:path.Split(';') | Where-Object { $_ -ne 'C:\Strawberry\perl\bin' }) -join ';'
meson setup build `
--wrap-mode=default `
--wrap-mode=forcefallback `
--buildtype=release `
-Dglib=enabled `
-Dfreetype=enabled `