Skip to content

Commit

Permalink
ci: run on Windows
Browse files Browse the repository at this point in the history
Now that we have wired up support for CMake it is trivial to also
compile the test binary on Windows. Wire this up.
  • Loading branch information
pks-t committed Sep 5, 2024
1 parent 2e5c308 commit 15f78f3
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,19 @@ jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
platform:
- os: ubuntu-latest
generator: Unix Makefiles
- os: macos-latest
generator: Unix Makefiles
- os: windows-latest
generator: Visual Studio 17 2022
- os: windows-latest
generator: MSYS Makefiles
- os: windows-latest
generator: MinGW Makefiles

runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.platform.os }}

steps:
- name: Check out
Expand All @@ -21,5 +31,5 @@ jobs:
run: |
mkdir build
cd build
cmake ..
cmake .. -G "${{matrix.platform.generator}}"
cmake --build .

0 comments on commit 15f78f3

Please sign in to comment.