-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 897 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
name: windows
on:
push:
branches: [master]
paths-ignore:
- "**/README.*"
- "**/CONTRIBUTING.*"
pull_request:
branches: [master]
paths-ignore:
- "**/README.*"
- "**/CONTRIBUTING.*"
env:
BUILD_TYPE: Release
INSTALL_LOCATION: ".local"
jobs:
build:
runs-on: windows-2022
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')"
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Find the number of threads (Windows)
run: echo "::set-output name=THREADS::$((Get-CimInstance Win32_ComputerSystem).NumberOfLogicalProcessors)"
id: number-of-threads
shell: pwsh
- uses: ./.github/build
with:
cmakePreset: ci-msvc
threads: ${{ steps.number-of-threads.outputs.THREADS }}