File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 2020 cc : clang
2121 - os : windows-latest
2222 cc : clang
23+ - os : windows-latest
24+ cc : cl
2325 steps :
2426 - uses : actions/checkout@v4
2527
@@ -58,13 +60,21 @@ jobs:
5860 sudo=sudo
5961 ;;
6062 windows*)
61- # Ignore unused parameter warnings from check.h
62- export CFLAGS=-Wno-unused-parameter
63- # https://github.com/mesonbuild/meson/issues/10022
64- export CC_LD=lld-link
63+ case "${{ matrix.cc }}" in
64+ cl)
65+ # ignore CK_DIAGNOSTIC_POP warnings in check
66+ setup_args="--vsenv -Dcheck:werror=false"
67+ ;;
68+ clang)
69+ # Ignore unused parameter warnings from check.h
70+ export CFLAGS=-Wno-unused-parameter
71+ # https://github.com/mesonbuild/meson/issues/10022
72+ export CC_LD=lld-link
73+ ;;
74+ esac
6575 ;;
6676 esac
67- meson setup builddir --werror
77+ meson setup builddir --werror $setup_args
6878 meson compile -C builddir
6979 $sudo meson install -C builddir
7080
You can’t perform that action at this time.
0 commit comments