diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 6b70449..27b7c43 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -338,6 +338,9 @@ jobs: - name: Collect installer diagnostics if: failure() run: | + echo "== first errors (compact)" + grep -m 10 -E 'error:|undefined reference|Killed|internal compiler' \ + installers-linux.log 2>/dev/null | cut -c1-240 || true df -h . || true for tree in $(find build/selfhost-* -type d -path '*snapshots/trees/*' \ -not -name '*.staging_*' 2>/dev/null); do @@ -408,6 +411,12 @@ jobs: path: installers-windows.log if-no-files-found: ignore retention-days: 14 + - name: Collect Windows installer diagnostics + if: failure() + run: | + echo "== first errors (compact)" + grep -m 10 -E 'error:|undefined reference|Killed|internal compiler' \ + installers-windows.log 2>/dev/null | cut -c1-240 || true - name: Upload the Windows installers if: always() uses: actions/upload-artifact@v3