-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 948 Bytes
/
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
42
name: Windows
on:
push:
branches: [ master, test, win32 ]
pull_request:
branches: [ master, test, win32 ]
jobs:
job:
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: false
- name: Run CMake
uses: lukka/run-cmake@v10
with:
configurePreset: 'ninja-multi-vcpkg'
buildPreset: 'ninja-vcpkg-release'
testPreset: 'test-release'
env:
VCPKG_DEFAULT_TRIPLET: x64-windows
VCPKG_DEFAULT_HOST_TRIPLET: x64-windows