CI: Improve Cmake configure reporting, print full config (and only this)

This commit is contained in:
0penBrain
2023-02-15 18:03:10 +01:00
committed by Chris Hennes
parent 72de402e46
commit 6cb194e461

View File

@@ -68,9 +68,9 @@ runs:
echo "<details><summary>:fire: CMake configure failed</summary>" >> ${{ inputs.reportFile }}
fi
echo "" >> ${{ inputs.reportFile }}
echo "Configure Log (stdout output):" >> ${{ inputs.reportFile }}
echo "Configure Log (only final configuration values reported):" >> ${{ inputs.reportFile }}
echo '```' >> ${{ inputs.reportFile }}
tail -n 60 ${{ inputs.logFile }} >> ${{ inputs.reportFile }}
cat ${{ inputs.logFile }} | sed -ne '/^ *==/,/^====/p' >> ${{ inputs.reportFile }}
echo '```' >> ${{ inputs.reportFile }}
echo "</details>">> ${{ inputs.reportFile }}
echo "" >> ${{ inputs.reportFile }}