Skip to content

Commit

Permalink
ci: add Windows build job to CI workflow for Windows 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
pageldev committed Jan 19, 2025
1 parent 986f98f commit e13c339
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: CI
on: [push, pull_request]

jobs:
build:
name: ubuntu:22.04-release
build-linux:
name: ubuntu-22.04-release
runs-on: ubuntu-22.04
env:
CMAKE_GENERATOR: Ninja
Expand Down Expand Up @@ -37,3 +37,20 @@ jobs:
- name: install
run: |
sudo cmake --install build
build-windows:
name: windows-2022-release
runs-on: windows-2022
defaults:
run:
shell: msys2 {0}
steps:
- name: checkout repository
uses: actions/checkout@v4
- name: configure
run: |
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Release \
-G Ninja
- name: build
run: |
cmake --build build

0 comments on commit e13c339

Please sign in to comment.