-
-
Notifications
You must be signed in to change notification settings - Fork 265
38 lines (32 loc) · 1.04 KB
/
validate.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
38
name: Validate
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- windows-version: windows-2019
visual-studio-version: 16.11
- windows-version: windows-2022
visual-studio-version: 17.3
runs-on: ${{ matrix.windows-version }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
with:
vs-version: ${{ matrix.visual-studio-version }}
msbuild-architecture: x64
- name: Build Native Bridge
run: msbuild /p:Configuration=Release,Platform=x64 ./SharpShellNativeBridge/SharpShellNativeBridge.sln
- name: Build SharpShell
run: msbuild /p:Configuration=Release ./SharpShell/SharpShell.sln
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.windows-version }}
path: |
./SharpShellNativeBridge/artifacts
./SharpShell/artifacts