-
Notifications
You must be signed in to change notification settings - Fork 37
47 lines (39 loc) · 926 Bytes
/
main_ci.yml
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
41
42
43
44
45
46
47
name: Main CI [CMake]
on:
pull_request:
branches: main
types: [opened, synchronize, ready_for_review]
paths:
- ".github/workflows/main_ci.yml"
- "cmake/**"
- "include/**"
- "src/**"
- "CMakeLists.txt"
- "CMakePresets.json"
- "vcpkg.json"
workflow_dispatch:
concurrency:
group: main-ci
cancel-in-progress: true
jobs:
build-cmake:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
compiler:
- msvc
- clang-cl
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get CMake
uses: lukka/get-cmake@latest
- name: Setup MSVC prompt
uses: TheMrMilchmann/setup-msvc-dev@v3
with:
arch: x64
toolset: 14.40
- name: Build
run: |
${{ github.workspace }}/scripts/build-release-${{ matrix.compiler }}-test.bat