Skip to content

Commit 2f67981

Browse files
committed
azure-pipelines.yml: Use macOS-10.14 instead of macOS-latest to prevent PlatformNotSupported and FileNotFoundException that appear to be related to the test fixture (we get no failed tests and they complete, but the run crashes)
1 parent 9e84772 commit 2f67981

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ stages:
480480
maximumAllowedFailures: 2 # Maximum allowed failures for a successful build
481481
macOS:
482482
osName: 'macOS'
483-
imageName: 'macOS-latest'
483+
imageName: 'macOS-10.14' # macOS-latest should not be used here because we may get OS Darwin 19.6.0, which isn't supported fully (we get PlatformNotSupportedException).
484484
maximumParallelJobs: 7
485485
maximumAllowedFailures: 2 # Maximum allowed failures for a successful build
486486
displayName: 'Test netcoreapp3.1,x64 on'
@@ -514,7 +514,7 @@ stages:
514514
maximumAllowedFailures: 2 # Maximum allowed failures for a successful build
515515
macOS:
516516
osName: 'macOS'
517-
imageName: 'macOS-latest'
517+
imageName: 'macOS-10.14' # macOS-latest should not be used here because we may get OS Darwin 19.6.0, which isn't supported fully (we get PlatformNotSupportedException).
518518
maximumParallelJobs: 7
519519
maximumAllowedFailures: 2 # Maximum allowed failures for a successful build
520520
displayName: 'Test netcoreapp3.1,x86 on'

0 commit comments

Comments
 (0)