ci: print a compact installer error summary
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Successful in 5m38s
VoidBuildSystem CI / 1 · Requirements (push) Successful in 6s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 2m48s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 4m49s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 5m32s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 1m26s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 1m49s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 3m9s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 16s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 20s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Successful in 5m49s
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Failing after 59s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Failing after 1m6s
VoidBuildSystem CI / 5 · Release (push) Skipped
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Successful in 5m38s
VoidBuildSystem CI / 1 · Requirements (push) Successful in 6s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 2m48s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 4m49s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 5m32s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 1m26s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 1m49s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 3m9s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 16s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 20s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Successful in 5m49s
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Failing after 59s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Failing after 1m6s
VoidBuildSystem CI / 5 · Release (push) Skipped
The artifact cannot be fetched through the API, and the job log truncates long lines: grep the first error lines from the captured log and cut them so they survive in the log.
This commit is contained in:
1 parent
eca1b8264e
commit
1f9a5d5804
1 file changed
+9
@@ -338,6 +338,9 @@ jobs:
|
|||||||
- name: Collect installer diagnostics
|
- name: Collect installer diagnostics
|
||||||
if: failure()
|
if: failure()
|
||||||
run: |
|
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
|
df -h . || true
|
||||||
for tree in $(find build/selfhost-* -type d -path '*snapshots/trees/*' \
|
for tree in $(find build/selfhost-* -type d -path '*snapshots/trees/*' \
|
||||||
-not -name '*.staging_*' 2>/dev/null); do
|
-not -name '*.staging_*' 2>/dev/null); do
|
||||||
@@ -408,6 +411,12 @@ jobs:
|
|||||||
path: installers-windows.log
|
path: installers-windows.log
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
retention-days: 14
|
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
|
- name: Upload the Windows installers
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|||||||
Reference in new issue
Block a user