Skip to content

Commit 22b7379

Browse files
committed
[CI] Add Windows build
1 parent af7daf4 commit 22b7379

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
linux:
7-
name: CI
7+
name: CI Linux
88
runs-on: ubuntu-24.04
99
timeout-minutes: 60
1010
steps:
@@ -21,3 +21,22 @@ jobs:
2121

2222
- name: Run tests
2323
run: ./build/tests
24+
25+
windows:
26+
name: CI Windows
27+
runs-on: windows-2022
28+
timeout-minutes: 60
29+
steps:
30+
- name: Download repository
31+
uses: actions/checkout@v4
32+
with:
33+
submodules: recursive
34+
35+
- name: Generate Makefile
36+
run: cmake -S . -B build/ -G "Visual Studio 17 2022"
37+
38+
- name: Build
39+
run: cmake --build build/ -j 2
40+
41+
- name: Run tests
42+
run: ./build/tests

0 commit comments

Comments
 (0)