Skip to content

Commit e13c339

Browse files
committed
ci: add Windows build job to CI workflow for Windows 2022
1 parent 986f98f commit e13c339

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.github/workflows/ci.yaml

+19-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: CI
33
on: [push, pull_request]
44

55
jobs:
6-
build:
7-
name: ubuntu:22.04-release
6+
build-linux:
7+
name: ubuntu-22.04-release
88
runs-on: ubuntu-22.04
99
env:
1010
CMAKE_GENERATOR: Ninja
@@ -37,3 +37,20 @@ jobs:
3737
- name: install
3838
run: |
3939
sudo cmake --install build
40+
build-windows:
41+
name: windows-2022-release
42+
runs-on: windows-2022
43+
defaults:
44+
run:
45+
shell: msys2 {0}
46+
steps:
47+
- name: checkout repository
48+
uses: actions/checkout@v4
49+
- name: configure
50+
run: |
51+
cmake -S . -B build \
52+
-DCMAKE_BUILD_TYPE=Release \
53+
-G Ninja
54+
- name: build
55+
run: |
56+
cmake --build build

0 commit comments

Comments
 (0)