Skip to content
This repository was archived by the owner on Apr 6, 2024. It is now read-only.

Commit b0efaf7

Browse files
committed
Update build pipeline
1 parent 2659345 commit b0efaf7

File tree

2 files changed

+9
-18
lines changed

2 files changed

+9
-18
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ install:
1111
- ps: nuget update -self
1212

1313
build_script:
14-
- ps: .\build.ps1 -Target CI
14+
- ps: .\build.ps1 --target=CI
1515

1616
# Tests
1717
test: off

azure-pipelines.yml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,34 +16,25 @@ jobs:
1616
steps:
1717
- powershell: |
1818
$ENV:CAKE_SKIP_GITVERSION=([string]::IsNullOrEmpty($ENV:SYSTEM_PULLREQUEST_PULLREQUESTID) -eq $False).ToString()
19-
.\build.ps1 -target Buildserver
19+
.\build.ps1 --target=Buildserver
2020
exit $LASTEXITCODE
2121
displayName: 'Cake Build'
2222
- job: macOS
2323
pool:
2424
vmImage: 'macOS-10.15'
2525
steps:
26-
# To manually select a Xamarin SDK version on the Hosted macOS agent, enable this script with the SDK version you want to target
27-
# https://go.microsoft.com/fwlink/?linkid=871629
26+
# # To manually select a Xamarin SDK version on the Hosted macOS agent, enable this script with the SDK version you want to target
27+
# # https://go.microsoft.com/fwlink/?linkid=871629
28+
# - bash: |
29+
# sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_18_1
30+
# displayName: 'Select Mono 5.18.1'
2831
- bash: |
29-
sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_18_1
30-
displayName: 'Select Mono 5.18.1'
31-
- bash: |
32-
./build.sh --target Buildserver
32+
./build.sh --target=Buildserver
3333
displayName: 'Cake Build'
3434
- job: Ubuntu
3535
pool:
3636
vmImage: 'ubuntu-18.04'
3737
steps:
38-
# Use Mono 6.6.0 until Cake.Recipe is compatible with Cake 0.37.0 which fixes this issue
39-
- bash: |
40-
sudo apt-get remove mono-complete mono-devel mono-gac mono-runtime-common monodoc-manual \
41-
&& sudo apt-get autoremove \
42-
&& echo "deb https://download.mono-project.com/repo/ubuntu stable-xenial/snapshots/6.6.0.161 main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list \
43-
&& sudo apt-get update \
44-
&& sudo apt-get install -y --no-install-recommends mono-complete \
45-
&& mono --version
46-
displayName: 'Downgrade Mono to 6.6.0'
4738
- bash: |
48-
./build.sh --verbosity diagnostic
39+
./build.sh --target=Buildserver
4940
displayName: 'Cake Build'

0 commit comments

Comments
 (0)