Skip to content

Commit

Permalink
Add MinGW to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dimztimz committed Aug 9, 2022
1 parent 54715ce commit ae57da4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,25 @@ jobs:
run: ctest -C ${{matrix.build_type}} -V
env:
CTEST_OUTPUT_ON_FAILURE: True

mingw:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
strategy:
matrix:
sys: [ mingw64, mingw32, ucrt64 ]
steps:
- uses: msys2/setup-msys2@v2
with:
release: false
msystem: ${{matrix.sys}}
pacboy: cc:p cmake:p ninja:p lld:p
- uses: actions/checkout@v2
- name: Configure
run: cmake -S . -B ../build
- name: Build
run: cmake --build ../build
- name: Test
run: ctest -j `nproc` --test-dir ../build

0 comments on commit ae57da4

Please sign in to comment.