forked from unoplatform/Uno.Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vsts-ci.yml
38 lines (32 loc) · 1.1 KB
/
.vsts-ci.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
jobs:
- job: VS_Latest
timeoutInMinutes: 90
pool:
vmImage: windows-2019
steps:
- ${{ if startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries') }}:
- template: .vsts-ci.canaries.yml
- task: GitVersion@5
inputs:
updateAssemblyInfo: false
# Restore nuget.org to the list of existing sources, .NET 6 Pre 2 may somehow remove it
- powershell: |
dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org | Out-Null
$global:LASTEXITCODE = 0
displayName: Adjust nuget.org source
- task: MSBuild@1
displayName: Build Samples
inputs:
solution: UI\**\*.sln
msbuildLocationMethod: version
msbuildVersion: latest
msbuildArchitecture: x86
msbuildArguments: /r /p:Configuration=Release "/p:InformationalVersion=$(GitVersion.InformationalVersion)" /p:AotAssemblies=false /ds
clean: false
maximumCpuCount: true
restoreNugetPackages: false
logProjectEvents: false
createLogFile: false
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: $(Build.ArtifactStagingDirectory)