Skip to content

Commit

Permalink
fix(cicd): update AzurePipelinesImage members (#1280)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErisApps authored Nov 19, 2023
1 parent 6431b93 commit 2d2c791
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ trigger:
- excluded_path

stages:
- stage: ubuntu_18_04
displayName: 'ubuntu-18.04'
- stage: ubuntu_22_04
displayName: 'ubuntu-22.04'
dependsOn: [ ]
pool:
vmImage: 'ubuntu-18.04'
vmImage: 'ubuntu-22.04'
jobs:
- job: Restore
displayName: 'Restore'
Expand Down
2 changes: 1 addition & 1 deletion source/Nuke.Common.Tests/CI/ConfigurationGenerationTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public class TestBuild : NukeBuild
(
null,
new TestAzurePipelinesAttribute(
AzurePipelinesImage.Ubuntu1804,
AzurePipelinesImage.Ubuntu2204,
AzurePipelinesImage.Windows2019)
{
NonEntryTargets = new[] { nameof(Clean) },
Expand Down
14 changes: 6 additions & 8 deletions source/Nuke.Common/CI/AzurePipelines/AzurePipelinesImage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,14 @@ namespace Nuke.Common.CI.AzurePipelines;
[PublicAPI]
public enum AzurePipelinesImage
{
[EnumValue("windows-latest")] WindowsLatest,
[EnumValue("windows-2022")] Windows2022,
[EnumValue("windows-2019")] Windows2019,
[EnumValue("vs2017-win2016")] Vs2017Win2016,
[EnumValue("ubuntu-latest")] UbuntuLatest,
[EnumValue("ubuntu-22.04")] Ubuntu2204,
[EnumValue("ubuntu-20.04")] Ubuntu2004,
[EnumValue("ubuntu-18.04")] Ubuntu1804,
[EnumValue("ubuntu-16.04")] Ubuntu1604,
[EnumValue("macOS-latest")] MacOsLatest,
[EnumValue("macOS-13")] MacOs13,
[EnumValue("macOS-12")] MacOs12,
[EnumValue("macOS-11")] MacOs11,
[EnumValue("macOS-10.15")] MacOs1015,
[EnumValue("macOS-10.14")] MacOs1014
[EnumValue("windows-latest")] WindowsLatest,
[EnumValue("ubuntu-latest")] UbuntuLatest,
[EnumValue("macOS-latest")] MacOsLatest
}

0 comments on commit 2d2c791

Please sign in to comment.