-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathazure-pipelines.yml
28 lines (25 loc) · 972 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
jobs:
- job: macOS
pool:
vmImage: 'macOS-10.13'
steps:
- script: |
/bin/bash -c "sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_16_0_0"
SYMLINK=5_16_0_0
MONOPREFIX=/Library/Frameworks/Mono.framework/Versions/$SYMLINK
echo "##vso[task.setvariable variable=DYLD_FALLBACK_LIBRARY_PATH;]$MONOPREFIX/lib:/lib:/usr/lib:$DYLD_LIBRARY_FALLBACK_PATH"
echo "##vso[task.setvariable variable=PKG_CONFIG_PATH;]$MONOPREFIX/lib/pkgconfig:$MONOPREFIX/share/pkgconfig:$PKG_CONFIG_PATH"
echo "##vso[task.setvariable variable=PATH;]$MONOPREFIX/bin:$PATH"
- template: templates/steps.yml # Template reference
- script: |
msbuild MacTerminal/MacTerminal.csproj
displayName: Build managed code and Mac Library
- script: |
cd helper
make
displayName: Build MacOS support library
#- job: Windows
# pool:
# vmImage: 'vs2017-win2016'
# steps:
# - template: templates/steps.yml # Template reference