Skip to content

Commit fae4df6

Browse files
committed
Update ci.yml
1 parent ccb10a8 commit fae4df6

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

0 commit comments

Comments
 (0)