Skip to content

Commit 8828ebf

Browse files
committed
Update ci.yml
1 parent 0cb8694 commit 8828ebf

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yml

+20
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,23 @@ jobs:
5353
files: info.lcov
5454
env:
5555
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
56+
57+
large_build_log:
58+
name: Large Build Log
59+
runs-on: macos-latest
60+
steps:
61+
- uses: actions/checkout@v4
62+
- run: swift build
63+
- run: |
64+
LARGE_LOG_PATH=`find Tests -name large_xcodebuild_log.txt`
65+
cat $LARGE_LOG_PATH | ./.build/debug/xcbeautify
66+
env:
67+
XCB_RECORD_UNCAPTURED: true
68+
- name: Check for large build log
69+
run: |
70+
FILE_LENGTH=$(wc -l < ./uncaptured.txt)
71+
72+
if [ $FILE_LENGTH -gt 14922 ]; then
73+
echo "File length is $FILE_LENGTH"
74+
exit 1
75+
fi

0 commit comments

Comments
 (0)