-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (39 loc) · 1.1 KB
/
CIBuild.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
39
40
41
42
43
44
45
46
47
48
49
50
name: CI
on:
push:
branches:
- main
- release/*
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Clone Code
uses: actions/checkout@v3
with:
submodules: false
fetch-depth: 0
- name: Setup Visual Studio Command Prompt
uses: microsoft/[email protected]
- name: Setup .NET 9.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.100'
- name: Build WPF
run: |
msbuild /restore /t:Build src\Esri.Calcite.WPF\Esri.Calcite.WPF.csproj /p:Configuration=Release
- name: Build WinUI
run: |
msbuild /restore /t:Build src\Esri.Calcite.WinUI\Esri.Calcite.WinUI.csproj /p:Configuration=Release
- name: Build MAUI
run: |
msbuild /restore /t:Build src\Esri.Calcite.Maui\Esri.Calcite.Maui.csproj /p:Configuration=Release
- name: Upload NuGet artifacts
uses: actions/upload-artifact@v4
with:
name: NuGet Packages
path: artifacts/NuGet/Release