CI: Improve Cmake build reporting, print built targets (and only this)

This commit is contained in:
0penBrain
2023-02-15 18:07:16 +01:00
committed by Chris Hennes
parent 6cb194e461
commit fb818a81cf

View File

@@ -63,9 +63,9 @@ runs:
echo '```' >> ${{ inputs.reportFile }}
cat ${{ inputs.errorFile }} >> ${{ inputs.reportFile }}
echo '```' >> ${{ inputs.reportFile }}
echo "Build Log (stdout output trimmed to the last 100 Lines):" >> ${{ inputs.reportFile }}
echo "Build Log (only built targets reported):" >> ${{ inputs.reportFile }}
echo '```' >> ${{ inputs.reportFile }}
tail -n 50 ${{ inputs.logFile }} >> ${{ inputs.reportFile }}
cat ${{ inputs.logFile }} | sed -ne '/Built target/p' >> ${{ inputs.reportFile }}
echo '```' >> ${{ inputs.reportFile }}
echo "</details>">> ${{ inputs.reportFile }}
echo "" >> ${{ inputs.reportFile }}