Skip to content

Commit 53e459d

Browse files
sivileriXinfengZhang
authored andcommitted
windows.yml: Add windows-msvc-debug
Add a debug build type run to catch errors only happening on debug
1 parent 2a1536a commit 53e459d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/windows.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,27 @@ jobs:
2424
- name: 'Install'
2525
run: meson install -C _build
2626

27+
windows-msvc-debug:
28+
runs-on: windows-2022
29+
steps:
30+
- name: 'Checkout'
31+
uses: actions/checkout@v4
32+
- name: 'Setup Python'
33+
uses: actions/setup-python@v4
34+
with:
35+
python-version: '3.x'
36+
- name: 'Install Meson'
37+
run: pip install meson
38+
- name: 'Enter DevShell'
39+
run: '.github\workflows\EnterDevShell.ps1 ${{ inputs.architecture }}'
40+
shell: pwsh
41+
- name: 'Configure with meson'
42+
run: meson setup _build -D werror=true -D buildtype=debug
43+
- name: 'Build'
44+
run: meson compile -C _build
45+
- name: 'Install'
46+
run: meson install -C _build
47+
2748
windows-mingw:
2849
runs-on: windows-2022
2950
env:

0 commit comments

Comments
 (0)