Skip to content

Commit 478c548

Browse files
committed
Debug: Show raw build errors in CI
Temporarily remove xcpretty to see actual Swift compilation errors. https://claude.ai/code/session_01Uec36LRgH5SETQ4PXsU86w
1 parent 06487fb commit 478c548

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ jobs:
7474
7575
- name: Build
7676
run: |
77-
set -o pipefail
7877
xcodebuild build-for-testing \
7978
-project Trivit.xcodeproj \
8079
-scheme Trivit \
@@ -85,7 +84,12 @@ jobs:
8584
CODE_SIGNING_REQUIRED=NO \
8685
CODE_SIGNING_ALLOWED=NO \
8786
IPHONEOS_DEPLOYMENT_TARGET=18.5 \
88-
| xcpretty
87+
2>&1 | tee build.log
88+
if [ ${PIPESTATUS[0]} -ne 0 ]; then
89+
echo "Build failed, showing errors:"
90+
grep -E "error:|warning:" build.log | tail -50
91+
exit 1
92+
fi
8993
9094
- name: Run Unit Tests
9195
run: |

0 commit comments

Comments
 (0)