From 6bdbf77238166e25eb0888c85ad07f0b7dbf16bc Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Wed, 29 Mar 2023 15:55:31 +1100 Subject: Add step summary output to CI builds, with failure logs. (#20288) --- .github/workflows/ci_builds.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/ci_builds.yml b/.github/workflows/ci_builds.yml index 4dd4aec46a..92659f304d 100644 --- a/.github/workflows/ci_builds.yml +++ b/.github/workflows/ci_builds.yml @@ -39,7 +39,11 @@ jobs: - name: Run `qmk mass-compile` (keymap ${{ matrix.keymap }}) run: | export NCPUS=$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null) - qmk mass-compile -t -j $NCPUS -km ${{ matrix.keymap }} + qmk mass-compile -t -j $NCPUS -km ${{ matrix.keymap }} -e DUMP_CI_METADATA=yes + # Generate the step summary markdown + ./util/ci/generate_failure_markdown.sh > $GITHUB_STEP_SUMMARY + # Truncate to a maximum of 1MB to deal with GitHub workflow limit + truncate --size='<960K' $GITHUB_STEP_SUMMARY - name: 'Upload artifacts' uses: actions/upload-artifact@v3 -- cgit v1.2.3