This repository has been archived by the owner on Mar 24, 2021. It is now read-only.
forked from PrismLibrary/Prism
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.vsts-ci.yml
65 lines (55 loc) · 1.73 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
jobs:
- job: Desktop
variables:
ANDROID_NDK_HOME: C:\Microsoft\AndroidNDK64\android-ndk-r15c
ANDROID_NDK_PATH: C:\Microsoft\AndroidNDK64\android-ndk-r15c
AndroidNdkDirectory: C:\Microsoft\AndroidNDK64\android-ndk-r15c
pool:
vmImage: 'windows-2019'
workspace:
clean: all
steps:
- checkout: self
clean: true
lfs: true
- task: UseDotNet@2
displayName: 'Use .Net Core runtime 2.2.0'
inputs:
packageType: runtime
version: 2.2.0
- task: nventiveCanaryUpdater@5
displayName: 'Canary Update'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries')
inputs:
solution: PrismLibrary_Uno.sln
branchToMerge: master
summaryFile: '$(Build.ArtifactStagingDirectory)/Canary.md'
resultFile: '$(Build.ArtifactStagingDirectory)/result.json'
nugetUpdaterVersion: 2.0.2
packageAuthor: nventive
- task: GitVersion@5
inputs:
useConfigFile: true
configFilePath: gitversion.yml
- task: NuGetToolInstaller@0
inputs:
versionSpec: 4.7.0
checkLatest: false
- task: MSBuild@1
inputs:
solution: PrismLibrary_Uno.sln
msbuildLocationMethod: version
msbuildVersion: latest
msbuildArchitecture: x86
msbuildArguments: /r /p:Configuration=Release "/p:PackageOutputPath=$(build.artifactstagingdirectory)\nuget" "/p:RestoreConfigFile=$(Build.SourcesDirectory)/src/NuGet.config"
clean: false
maximumCpuCount: true
restoreNugetPackages: false
logProjectEvents: false
createLogFile: false
- task: PublishBuildArtifacts@1
condition: always()
inputs:
PathtoPublish: $(build.artifactstagingdirectory)
ArtifactName: drop
ArtifactType: Container