-
Notifications
You must be signed in to change notification settings - Fork 251
40 lines (33 loc) · 845 Bytes
/
Copy pathmsvc.yml
File metadata and controls
40 lines (33 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: msvc
on:
push:
branches:
- main
- feature/*
paths-ignore:
- '**/*.md'
- 'docs/**'
pull_request:
branches:
- main
paths-ignore:
- '**/*.md'
- 'docs/**'
workflow_dispatch:
jobs:
build:
runs-on: windows-2025-vs2026
timeout-minutes: 60
strategy:
matrix:
cpp_version: [23]
build_type: [Debug, Release]
steps:
- uses: actions/checkout@v6
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_STANDARD=${{matrix.cpp_version}}
- name: Build
run: cmake --build build --config ${{matrix.build_type}} --parallel
- name: Test
working-directory: build
run: ctest --output-on-failure --build-config ${{matrix.build_type}} --timeout 300