From 5f773ec2a46f0114fca3bffe648be78c6948dcb3 Mon Sep 17 00:00:00 2001 From: Charles Pisciotta Date: Wed, 19 Jun 2024 01:53:15 -0400 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf9882e4..549885c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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