From d897557d7ce5d0f19aa1644b87973bb043cfa041 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Thu, 22 Sep 2022 10:18:49 +0200 Subject: [PATCH] [devops] Don't fail if some legacy platforms aren't installed. (#16052) Legacy might be disabled. --- tools/devops/automation/templates/tests/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/devops/automation/templates/tests/build.yml b/tools/devops/automation/templates/tests/build.yml index f70c78088c..83e19be30a 100644 --- a/tools/devops/automation/templates/tests/build.yml +++ b/tools/devops/automation/templates/tests/build.yml @@ -171,8 +171,9 @@ steps: timeoutInMinutes: 250 - bash: | - ls -R /Library/Frameworks/Xamarin.iOS.framework - ls -R /Library/Frameworks/Xamarin.Mac.framework + set -ex + ls -R /Library/Frameworks/Xamarin.iOS.framework || true + ls -R /Library/Frameworks/Xamarin.Mac.framework || true displayName: "Show installed Frameworks" - bash: $(System.DefaultWorkingDirectory)/xamarin-macios/tools/devops/automation/scripts/bash/create-legacy-ios-mac-sdk-symlinks.sh