From ab4dc7c43ba4816255ad6492d998f37481bfc4b8 Mon Sep 17 00:00:00 2001 From: Stuart Lynch Date: Tue, 15 Oct 2024 23:54:40 +0100 Subject: [PATCH] Make Xcode output prettier --- .github/workflows/test.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0dc99523..121cb12f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -65,22 +65,20 @@ jobs: run: | yarn expo prebuild --platform ios - # Install CocoaPods dependencies for iOS - - name: Install CocoaPods dependencies - working-directory: apps/external-display-example/ios - run: | - pod install + # Install xcpretty for better build output + - name: Install xcpretty + run: gem install xcpretty - # Build the iOS app using Xcode (Debug) - - name: Build iOS App (Debug) + # Build the iOS app using Xcode (with xcpretty) + - name: Build iOS App (Debug) with xcpretty working-directory: apps/external-display-example/ios run: | - xcodebuild \ + set -o pipefail && xcodebuild \ -workspace externaldisplayexample.xcworkspace \ -scheme externaldisplayexample \ -configuration Debug \ -sdk iphonesimulator \ - -derivedDataPath build + -derivedDataPath build | xcpretty --no-color build-android: runs-on: ubuntu-latest