-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
azure-pipelines.yml
48 lines (36 loc) · 919 Bytes
/
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
# https://aka.ms/yaml
name: $(BuildID)
trigger:
- main
variables:
Configuration: Release
BootsVersion: 1.1.0
BootsSuffix: ''
PackageVersion: $(BootsVersion).$(Build.BuildNumber)$(BootsSuffix)
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
jobs:
- job: windows
pool:
vmImage: windows-2022
demands: msbuild
steps:
- template: scripts/build-and-test.yaml
parameters:
name: windows
- powershell: dotnet cake
displayName: Cake test
workingDirectory: Cake.Boots
- job: mac
pool:
vmImage: macOS-latest
demands: msbuild
steps:
- script: echo '##vso[task.setvariable variable=JI_JAVA_HOME]$(JAVA_HOME_11_X64)'
displayName: set JI_JAVA_HOME
- template: scripts/build-and-test.yaml
parameters:
name: mac
- bash: dotnet cake --target=Mono && dotnet cake
workingDirectory: Cake.Boots
displayName: Cake test