-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 1 KB
/
windows.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
name: Windows
on:
push:
branches: [ master, test, win32 ]
pull_request:
branches: [ master, test, win32 ]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
BUILD_TYPE: [Debug, Release]
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install CMake
uses: lukka/get-cmake@latest
- name: Prepare vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: 'f7423ee180c4b7f40d43402c2feb3859161ef625'
vcpkgTriplet: x64-windows
vcpkgJsonGlob: '**/vcpkg.json'
runVcpkgInstall: true
- name: Run CMake
uses: lukka/run-cmake@v10
with:
configurePreset: 'windows-only'
configurePresetAdditionalArgs: "['-DCMAKE_CXX_STANDARD=17']"
buildPreset: 'windows-only'
buildPresetAdditionalArgs: "['--config Release']"
testPreset: 'windows-only'
testPresetAdditionalArgs: "['--config Release']"