-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines.yml
47 lines (42 loc) · 1.46 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
# Only trigger CI builds for the master branch, instead
# of every branch. You'll automatically be configured to
# build PRs, but you can't currently control that from the YAML directly
# For details, see https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers
trigger:
- master
# We can run multiple jobs in parallel. For this project
# I'm running Linux, Windows, and macOS jobs. For syntac details
# see https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases
jobs:
# Run a build on Windows at the same time
- job: Windows
pool:
vmImage: 'vs2017-win2016'
# The Windows build involves running a powershell script
# to execute the Cake build script
steps:
- powershell: gci env:* | sort-object name | Format-Table -AutoSize
- powershell: .\buildWin.ps1
env:
COREHOST_TRACE: 0
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
# # artifactName: 'Cabbage64Setup.exe'
- job: macOS
pool:
vmImage: 'macos-10.14'
xcodeVersion: '9.4.1'
steps:
- bash: chmod 777 buildOSX.sh
- bash: ./buildOSX.sh
env:
COREHOST_TRACE: 0
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
# artifactName: '${SYSTEM_DEFAULTWORKINGDIRECTORY}/Cabbage.pkg'