-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (36 loc) · 1012 Bytes
/
Copy pathCI.yml
File metadata and controls
44 lines (36 loc) · 1012 Bytes
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
name: CI
on:
push:
branches: [ "main" ]
pull_request: ~
workflow_dispatch: ~
jobs:
Compile:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up MSBuild
uses: microsoft/setup-msbuild@v2
- name: Compile
# PlatformToolset override is needed until Visual Studio 2026 is available on the windows-latest image
run: msbuild /p:Configuration=Release /p:PlatformToolset=v143 /v:m /bl
- name: Upload bin artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: Bin
path: |
src\Elevate\bin\x64\Release\**\*
!src\Elevate\bin\x64\Release\**\*.pdb
- name: Upload symbols artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: Symbols
path: src\Elevate\bin\x64\Release\**\*.pdb
- name: Upload logs artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: Logs
path: msbuild.binlog