-
-
Notifications
You must be signed in to change notification settings - Fork 59
41 lines (33 loc) · 813 Bytes
/
Copy pathci-build-samples.yml
File metadata and controls
41 lines (33 loc) · 813 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
name: ci-build-samples
on:
push:
branches: main
paths-ignore:
- 'docs/**'
pull_request:
branches: main
paths-ignore:
- 'docs/**'
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
architecture: [x86, x64, ARM64]
steps:
- name: Checkout
uses: actions/checkout@v4.1.4
with:
submodules: recursive
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v2
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v5.0.1
with:
dotnet-version: |
8.0.x
9.0.x
10.0.100
- name: Build
run: |
msbuild /restore samples/WinUI.TableView.SampleApp/WinUI.TableView.SampleApp.csproj /p:Configuration=Release /p:Platform=${{ matrix.architecture }}