forked from GtkSharp/GtkSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
51 lines (42 loc) · 1.32 KB
/
azure-pipelines.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
variables:
versionbase: 3.22.25
increment: $[counter(variables['versionbase'], 1)]
version: $(versionbase).$(increment)
trigger:
branches:
include:
- master
- develop
pool:
vmImage: 'ubuntu-latest'
steps:
- script: echo "##vso[build.updatebuildnumber]$(version)"
displayName: 'Set Build Number'
- script: sudo apt install -y monodevelop
displayName: 'Install MonoDevelop'
- script: ./build.sh --BuildTarget=FullBuild --BuildVersion=$(version)
displayName: 'CAKE Script'
- task: PublishBuildArtifacts@1
displayName: Publish Binaries Artifact
inputs:
pathtoPublish: BuildOutput/Release
artifactName: Binaries
publishLocation: container
- task: PublishBuildArtifacts@1
displayName: Publish NuGet Artifact
inputs:
pathtoPublish: BuildOutput/NugetPackages
artifactName: NuGet
publishLocation: container
- task: PublishBuildArtifacts@1
displayName: Publish Samples Artifact
inputs:
pathtoPublish: BuildOutput/Samples
artifactName: Samples
publishLocation: container
- task: PublishBuildArtifacts@1
displayName: Publish MonoDevelop Addin
inputs:
pathtoPublish: BuildOutput/Addins/MonoDevelop/MonoDevelop.GtkSharp.Addin_$(version).mpack
artifactName: MonoDevelop Addin
publishLocation: container