Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cpisciotta committed Jun 19, 2024
1 parent 9c9cff5 commit 3c9a30b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,23 @@ jobs:
files: info.lcov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

large_build_log:
name: Large Build Log
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: swift build
- run: |
LARGE_LOG_PATH=`find Tests -name large_xcodebuild_log.txt`
cat $LARGE_LOG_PATH | ./.build/debug/xcbeautify
env:
XCB_RECORD_UNCAPTURED: true
- name: Check for large build log
run: |
FILE_LENGTH=$(wc -l < ./uncaptured.txt)
if [ $FILE_LENGTH -gt 14922 ]; then
echo "File length is $FILE_LENGTH"
exit 1
fi

0 comments on commit 3c9a30b

Please sign in to comment.