Skip to content

Commit

Permalink
windows.yml: Add windows-msvc-debug
Browse files Browse the repository at this point in the history
Add a debug build type run to catch errors only happening on debug
  • Loading branch information
sivileri committed Sep 27, 2023
1 parent 2a1536a commit c81bf3f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,27 @@ jobs:
- name: 'Install'
run: meson install -C _build

windows-msvc-debug:
runs-on: windows-2022
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Setup Python'
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: 'Install Meson'
run: pip install meson
- name: 'Enter DevShell'
run: '.github\workflows\EnterDevShell.ps1 ${{ inputs.architecture }}'
shell: pwsh
- name: 'Configure with meson'
run: meson setup _build -D werror=true -D buildtype=debug
- name: 'Build'
run: meson compile -C _build
- name: 'Install'
run: meson install -C _build

windows-mingw:
runs-on: windows-2022
env:
Expand Down

0 comments on commit c81bf3f

Please sign in to comment.