Skip to content

Commit 5d8969b

Browse files
committed
ci: run on Windows
Now that we have wired up support for CMake it is trivial to also compile the test binary on Windows. Wire this up.
1 parent f255c0b commit 5d8969b

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

Diff for: .github/workflows/ci.yml

+13-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,19 @@ jobs:
1010
build:
1111
strategy:
1212
matrix:
13-
os: [ ubuntu-latest, macos-latest ]
13+
platform:
14+
- os: ubuntu-latest
15+
generator: Unix Makefiles
16+
- os: macos-latest
17+
generator: Unix Makefiles
18+
- os: windows-latest
19+
generator: Visual Studio 17 2022
20+
- os: windows-latest
21+
generator: MSYS Makefiles
22+
- os: windows-latest
23+
generator: MinGW Makefiles
1424

15-
runs-on: ${{ matrix.os }}
25+
runs-on: ${{ matrix.platform.os }}
1626

1727
steps:
1828
- name: Check out
@@ -21,5 +31,5 @@ jobs:
2131
run: |
2232
mkdir build
2333
cd build
24-
cmake ..
34+
cmake .. -G "${{matrix.platform.generator}}"
2535
cmake --build .

0 commit comments

Comments
 (0)