You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2021/10/26 04:03:31 UTC

[lucenenet] 02/02: 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)

This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 2f67981c43b18fde17ff184bf1e909db12483671
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Tue Oct 26 10:08:54 2021 +0700

    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)
---
 azure-pipelines.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 3bf17dd..0759b5f 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -480,7 +480,7 @@ stages:
           maximumAllowedFailures: 2 # Maximum allowed failures for a successful build
         macOS:
           osName: 'macOS'
-          imageName: 'macOS-latest'
+          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).
           maximumParallelJobs: 7
           maximumAllowedFailures: 2 # Maximum allowed failures for a successful build
     displayName: 'Test netcoreapp3.1,x64 on'
@@ -514,7 +514,7 @@ stages:
           maximumAllowedFailures: 2 # Maximum allowed failures for a successful build
         macOS:
           osName: 'macOS'
-          imageName: 'macOS-latest'
+          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).
           maximumParallelJobs: 7
           maximumAllowedFailures: 2 # Maximum allowed failures for a successful build
     displayName: 'Test netcoreapp3.1,x86 on'