-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (27 loc) · 938 Bytes
/
msbuild.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
name: MSBuild
on: [ push, pull_request ]
jobs:
build_windows:
runs-on: windows-latest
strategy:
max-parallel: 3
matrix:
build_configuration: [ Release ]
build_platform: [ x64 ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1
- name: Show MSBuild version
run: msbuild -version
- name: Run MSBuild
run: msbuild RebootAt.vcxproj /m /p:configuration="${{ matrix.build_configuration }}" /p:platform="${{ matrix.build_platform }}"
- name: Archive artifacts for x64
if: matrix.build_platform == 'x64'
uses: actions/upload-artifact@v4
with:
name: rebootat_x64
path: ${{ matrix.build_platform }}/${{ matrix.build_configuration }}/RebootAt.exe