-
Notifications
You must be signed in to change notification settings - Fork 48
28 lines (24 loc) · 967 Bytes
/
ci.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
name: Windows Template CI
on:
schedule:
- cron: '0 11,23 * * *'
workflow_dispatch:
jobs:
windows: # Windows x64 and x86 build matrix
strategy:
fail-fast: false # Don't cancel other matrix jobs if one fails
matrix:
cfg:
- { name: x64, arch: x64, config: Release, os: 'windows-2022' }
- { name: x64, arch: x64, config: Debug, os: 'windows-2022' }
- { name: x86, arch: x86, config: Release, os: 'windows-2022' }
- { name: x86, arch: x86, config: Debug, os: 'windows-2022' }
name: "Windows ${{matrix.cfg.name}}-${{matrix.cfg.config}}"
runs-on: ${{matrix.cfg.os}}
steps:
- name: Checkout windows-bot-template
uses: actions/checkout@v2
- name: Add MSBuild to PATH
uses: microsoft/[email protected]
- name: Build Project
run: msbuild /p:DPP_CI=1 /p:DPP_WIN_TEMPLATE=1 /p:Configuration=${{matrix.cfg.config}} /p:Platform="${{matrix.cfg.arch}}"