-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (34 loc) · 1 KB
/
windows-cl.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
name: "Windows"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
job:
name: "${{ matrix.os }}-${{ matrix.build_preset }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest]
build_preset: [debug, release]
include:
- os: windows-latest
c_compiler: cl
cpp_compiler: cl
steps:
- uses: actions/checkout@v4
- uses: lukka/get-cmake@latest
- uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: 89f00b3b8611028566a5264afce725cdfdfddbb4
- uses: lukka/run-cmake@v10
with:
configurePreset: default
configurePresetAdditionalArgs: "['-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}', '-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}', '-DCLU_BUILD_EXAMPLES=OFF']"
buildPreset: ${{ matrix.build_preset }}
testPreset: default