Skip to content

Commit

Permalink
Upgrade all v1.4 build systems to use {os}-latest (#6329)
Browse files Browse the repository at this point in the history
* Upgrade all v1.4 build systems to use `{os}-latest`

* update nightly and nuget releases also
  • Loading branch information
Aaronontheweb authored Jan 5, 2023
1 parent 2cd11f5 commit 8613880
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion build-system/nightly-builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema for reference

pool:
vmImage: windows-2019
vmImage: windows-latest
demands: Cmd

trigger: none
Expand Down
24 changes: 12 additions & 12 deletions build-system/pr-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- job: DocsSpellcheck
displayName: "Docs: Spellcheck"
pool:
vmImage: ubuntu-20.04
vmImage: ubuntu-latest
steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: false # whether to fetch clean each time
Expand All @@ -37,7 +37,7 @@ jobs:
- job: DocsMarkdownLinting
displayName: "Docs: Markdown Linting"
pool:
vmImage: ubuntu-20.04
vmImage: ubuntu-latest
steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: false # whether to fetch clean each time
Expand All @@ -55,7 +55,7 @@ jobs:
- job: WindowsBuild
displayName: Windows Build
pool:
vmImage: windows-2019
vmImage: windows-latest
demands: Cmd
steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
parameters:
name: "netfx_tests_windows"
displayName: ".NET Framework Unit Tests (Windows)"
vmImage: "windows-2019"
vmImage: "windows-latest"
scriptFileName: build.cmd
scriptArgs: runTests incremental
outputDirectory: "TestResults"
Expand All @@ -108,7 +108,7 @@ jobs:
parameters:
name: "net_core_tests_windows"
displayName: ".NET Core Unit Tests (Windows)"
vmImage: "windows-2019"
vmImage: "windows-latest"
scriptFileName: build.cmd
scriptArgs: runTestsNetCore incremental
outputDirectory: "TestResults"
Expand All @@ -118,7 +118,7 @@ jobs:
parameters:
name: "net_core_tests_linux"
displayName: ".NET Core Unit Tests (Linux)"
vmImage: "ubuntu-18.04"
vmImage: "ubuntu-latest"
scriptFileName: "./build.sh"
scriptArgs: runTestsNetCore incremental
outputDirectory: "TestResults"
Expand All @@ -128,7 +128,7 @@ jobs:
parameters:
name: "docfx_test"
displayName: "DocFX warning check"
vmImage: "windows-2019"
vmImage: "windows-latest"
scriptFileName: build.cmd
scriptArgs: docfx
outputDirectory: "TestResults"
Expand All @@ -139,7 +139,7 @@ jobs:
parameters:
name: "net_5_tests_windows"
displayName: ".NET 5 Unit Tests (Windows)"
vmImage: "windows-2019"
vmImage: "windows-latest"
scriptFileName: build.cmd
scriptArgs: runTestsNet incremental
outputDirectory: "TestResults"
Expand All @@ -149,7 +149,7 @@ jobs:
parameters:
name: "net_5_tests_linux"
displayName: ".NET 5 Unit Tests (Linux)"
vmImage: "ubuntu-18.04"
vmImage: "ubuntu-latest"
scriptFileName: "./build.sh"
scriptArgs: runTestsNet incremental
outputDirectory: "TestResults"
Expand All @@ -159,7 +159,7 @@ jobs:
parameters:
name: "net_core_mntr_windows"
displayName: ".NET Core Multi-Node Tests (Windows)"
vmImage: "windows-2019"
vmImage: "windows-latest"
scriptFileName: "build.cmd"
scriptArgs: MultiNodeTestsNetCore incremental
outputDirectory: "TestResults"
Expand All @@ -171,7 +171,7 @@ jobs:
parameters:
name: "net_5_mntr_windows"
displayName: ".NET 5 Multi-Node Tests (Windows)"
vmImage: "windows-2019"
vmImage: "windows-latest"
scriptFileName: "build.cmd"
scriptArgs: MultiNodeTestsNet incremental
outputDirectory: "TestResults"
Expand All @@ -183,7 +183,7 @@ jobs:
parameters:
name: "nuget_pack"
displayName: "NuGet Pack"
vmImage: "windows-2019"
vmImage: "windows-latest"
scriptFileName: build.cmd
scriptArgs: CreateNuget nugetprerelease=dev incremental
outputDirectory: "bin/nuget"
Expand Down
2 changes: 1 addition & 1 deletion build-system/windows-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema for reference

pool:
vmImage: windows-2019
vmImage: windows-latest
demands: Cmd

trigger:
Expand Down

0 comments on commit 8613880

Please sign in to comment.