Skip to content

Commit

Permalink
Add mingw-w64 build to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaston committed Mar 10, 2021
1 parent 1d69445 commit f6365c4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,27 @@ jobs:
shell: bash


windows:
name: 'Windows (mingw-w64, Debug, 11, x86_64, windows-2019)'
runs-on: windows-2019
defaults:
run:
shell: msys2 {0}
steps:
- name: 'Check Out'
uses: actions/checkout@v2

- name: 'Setup'
uses: msys2/setup-msys2@v2
with:
install: mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake make

- name: 'Build'
run: |
mkdir build
cd build
cmake --version
cmake -DCMAKE_BUILD_TYPE=Debug -G"MSYS Makefiles" ..
cmake --build . -j 2
ctest --output-on-failure .

0 comments on commit f6365c4

Please sign in to comment.