Skip to content

Commit 2df07bd

Browse files
committed
CI: enable Windows and macOS
1 parent 4624787 commit 2df07bd

File tree

1 file changed

+42
-2
lines changed

1 file changed

+42
-2
lines changed

.github/workflows/ci.yml

Lines changed: 42 additions & 2 deletions
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: Linux
88
runs-on: ubuntu-24.04
99
timeout-minutes: 60
1010
steps:
@@ -20,4 +20,44 @@ jobs:
2020
run: cmake --build build/ -j 2
2121

2222
- name: Run tests
23-
run: ./build/tests
23+
run: ./build/tests
24+
25+
windows:
26+
name: 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+
shell: bash
37+
run: cmake -S . -B build/ -G "Visual Studio 17 2022"
38+
39+
- name: Build
40+
shell: bash
41+
run: cmake --build build/ -j 2
42+
43+
- name: Run tests
44+
run: ./build/tests
45+
46+
macOS:
47+
name: macOS
48+
runs-on: macOS-14
49+
timeout-minutes: 60
50+
steps:
51+
- name: Download repository
52+
uses: actions/checkout@v4
53+
with:
54+
submodules: recursive
55+
56+
- name: Generate Makefile
57+
run: cmake -S . -B build/
58+
59+
- name: Build
60+
run: cmake --build build/ -j 2
61+
62+
- name: Run tests
63+
run: ./build/tests

0 commit comments

Comments
 (0)