Repository navigation
61 lines (55 loc) · 1.99 KB
/
Copy pathinternal.ci.windows.yml
File metadata and controls
61 lines (55 loc) · 1.99 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
## Copyright 2022 Intel Corporation
## SPDX-License-Identifier: Apache-2.0
name: (Internal) Windows
on:
push:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
jobs:
build-windows:
strategy:
fail-fast: false
matrix:
include:
- { vs: 16, msvc: 2019 }
- { vs: 17, msvc: 2022 }
- { vs: 18, msvc: 2026 }
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
with:
force-delete: true # guarantees .gitattributes are respected in working dir
runs-on: '[ "build", "x86_64" ]'
msvc-version: ${{ matrix.msvc }}
artifact-out: build-windows-msvc${{ matrix.vs }}
artifact-path: ./build/install
cmd: .github\scripts\build.bat "Visual Studio ${{ matrix.vs }} ${{ matrix.msvc }}" "Release" '"-DBUILD_EMBREE_FROM_SOURCE=OFF"'
build-windows-source:
strategy:
fail-fast: false
matrix:
include:
- { vs: 17, msvc: 2022 }
- { vs: 18, msvc: 2026 }
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
with:
force-delete: true # guarantees .gitattributes are respected in working dir
runs-on: '[ "build", "x86_64" ]'
msvc-version: ${{ matrix.msvc }}
cmd: .github\scripts\build.bat "Visual Studio ${{ matrix.vs }} ${{ matrix.msvc }}" "Release"
test-windows:
needs: build-windows
strategy:
fail-fast: false
matrix:
vs: [16, 17] # TODO 18 when fix of https://developercommunity.visualstudio.com/t/MSVC-x64-O1-miscompiles-size_t-loop-aft/11163646 is released
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/windows.yml@main
with:
runs-on: '[ "build", "x86_64" ]'
artifact-in: build-windows-msvc${{ matrix.vs }}
cmd: |
.github\scripts\run_tests.bat