Skip to content

Commit

Permalink
[ci] update boots, don't provision Mono/Xamarin.iOS (#78)
Browse files Browse the repository at this point in the history
* Bump to Cake.Boots 1.0.2.482.
* Use `vmImage: windows-latest`.
* CI here runs on Windows. I don't see why we need to provision other stuff.
* Cleanup yaml
* Rename AppVeyor target to CI
  • Loading branch information
jonathanpeppers committed Sep 25, 2020
1 parent abbd361 commit cd76690
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 2 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ trigger:
jobs:
- job: windows
pool:
name: Hosted Windows 2019 with VS2019
vmImage: windows-latest
demands:
- msbuild
steps:
- powershell: |
./build.ps1 -t AppVeyor
- powershell: .\build.ps1 -t CI
displayName: build
- task: PublishPipelineArtifact@0
displayName: artifacts
Expand Down
8 changes: 2 additions & 6 deletions build.cake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#addin nuget:?package=Cake.Boots&version=1.0.2.421
#addin nuget:?package=Cake.Boots&version=1.0.2.482
#load "helpers.cake"

// Input args
Expand Down Expand Up @@ -28,10 +28,6 @@ if (!string.IsNullOrEmpty(buildNumber))
Task("Boots")
.Does(async () =>
{
if (!IsRunningOnWindows ()) {
await Boots (Product.Mono, ReleaseChannel.Stable);
await Boots (Product.XamariniOS, ReleaseChannel.Preview);
}
await Boots (Product.XamarinAndroid, ReleaseChannel.Preview);
});

Expand Down Expand Up @@ -71,7 +67,7 @@ Task("NuGet-Push")
Task("Default")
.IsDependentOn("NuGet-Package");

Task("AppVeyor")
Task("CI")
.IsDependentOn("Boots")
.IsDependentOn("NuGet-Package");

Expand Down

0 comments on commit cd76690

Please sign in to comment.