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

Commit dfe4874

Browse files
authored
Update build to Cake.Recipe 3.0 nightly (#139)
1 parent f04ba63 commit dfe4874

File tree

4 files changed

+11
-21
lines changed

4 files changed

+11
-21
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'

recipe.cake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#load nuget:?package=Cake.Recipe&version=2.2.1
1+
#load nuget:https://pkgs.dev.azure.com/cake-contrib/Home/_packaging/addins/nuget/v3/index.json?package=Cake.Recipe&version=3.0.0-beta0001-0007&prerelease
22

33
//*************************************************************************************************
44
// Settings
@@ -15,7 +15,6 @@ BuildParameters.SetParameters(
1515
repositoryName: "Cake.Issues.GitRepository",
1616
appVeyorAccountName: "cakecontrib",
1717
shouldGenerateDocumentation: false,
18-
shouldRunDupFinder: false,
1918
shouldRunIntegrationTests: true,
2019
integrationTestScriptPath: "./tests/integration/tests.cake");
2120

tools/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Cake" version="0.38.5" />
3+
<package id="Cake" version="1.3.0" />
44
</packages>

0 commit comments

Comments
 (0)