Skip to content
This repository was archived by the owner on Apr 6, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ install:
- ps: nuget update -self

build_script:
- ps: .\build.ps1 -Target CI
- ps: .\build.ps1 --target=CI

# Tests
test: off
Expand Down
25 changes: 8 additions & 17 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,25 @@ jobs:
steps:
- powershell: |
$ENV:CAKE_SKIP_GITVERSION=([string]::IsNullOrEmpty($ENV:SYSTEM_PULLREQUEST_PULLREQUESTID) -eq $False).ToString()
.\build.ps1 -target Buildserver
.\build.ps1 --target=Buildserver
exit $LASTEXITCODE
displayName: 'Cake Build'
- job: macOS
pool:
vmImage: 'macOS-10.15'
steps:
# To manually select a Xamarin SDK version on the Hosted macOS agent, enable this script with the SDK version you want to target
# https://go.microsoft.com/fwlink/?linkid=871629
# # To manually select a Xamarin SDK version on the Hosted macOS agent, enable this script with the SDK version you want to target
# # https://go.microsoft.com/fwlink/?linkid=871629
# - bash: |
# sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_18_1
# displayName: 'Select Mono 5.18.1'
- bash: |
sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_18_1
displayName: 'Select Mono 5.18.1'
- bash: |
./build.sh --target Buildserver
./build.sh --target=Buildserver
displayName: 'Cake Build'
- job: Ubuntu
pool:
vmImage: 'ubuntu-18.04'
steps:
# Use Mono 6.6.0 until Cake.Recipe is compatible with Cake 0.37.0 which fixes this issue
- bash: |
sudo apt-get remove mono-complete mono-devel mono-gac mono-runtime-common monodoc-manual \
&& sudo apt-get autoremove \
&& 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 \
&& sudo apt-get update \
&& sudo apt-get install -y --no-install-recommends mono-complete \
&& mono --version
displayName: 'Downgrade Mono to 6.6.0'
- bash: |
./build.sh --verbosity diagnostic
./build.sh --target=Buildserver
displayName: 'Cake Build'
3 changes: 1 addition & 2 deletions recipe.cake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#load nuget:?package=Cake.Recipe&version=2.2.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

//*************************************************************************************************
// Settings
Expand All @@ -15,7 +15,6 @@ BuildParameters.SetParameters(
repositoryName: "Cake.Issues.GitRepository",
appVeyorAccountName: "cakecontrib",
shouldGenerateDocumentation: false,
shouldRunDupFinder: false,
shouldRunIntegrationTests: true,
integrationTestScriptPath: "./tests/integration/tests.cake");

Expand Down
2 changes: 1 addition & 1 deletion tools/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Cake" version="0.38.5" />
<package id="Cake" version="1.3.0" />
</packages>