-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathazure-pipelines.yml
48 lines (39 loc) · 1.4 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
trigger:
- master
- release/*
# To manually select a Xamarin SDK version on the Microsoft-hosted macOS agent,
# configure this task with the *Mono* version that is associated with the
# Xamarin SDK version that you need, and set the "enabled" property to true.
# See https://go.microsoft.com/fwlink/?linkid=871629
#- script: sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_12_0
# displayName: 'Select the Xamarin SDK version'
# enabled: false
jobs:
- job: macos
pool:
vmImage: 'macos-latest'
steps:
- script: |
pwd
ls -lR
displayName: List contents
- script: |
make fetch-runtimes
displayName: Downloading the Wasmer Native Runtimes
- script: |
(cd WasmerSharp; msbuild /t:Restore)
(cd WasmerSharp; msbuild /p:Configuration=Release WasmerSharp.csproj)
displayName: Build WasmerSharp
#- script: |
# (cd DemoDesktop; nuget restore; msbuild)
# (cd DemoDesktop; DYLD_LIBRARY_PATH=../native mono bin/Debug/*exe)
# displayName: Build and run Mono/.NET Desktop Sample
- script: |
export DOTNET_CLI_TELEMETRY_OPTOUT=1
(cd StandaloneSample; dotnet build)
(cd StandaloneSample/bin/Debug/netcoreapp*/; DYLD_LIBRARY_PATH=../../../../native dotnet StandaloneSample.dll )
displayName: Build and run .NET Core Sample
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: WasmerSharp/bin/Release
ArtifactName: drop