File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,6 +150,27 @@ jobs:
150150 "$MCPP" --version
151151 echo "MCPP=$MCPP" >> "$GITHUB_ENV"
152152
153+ # DIAGNOSTIC, not a test. The step below has been segfaulting on CI while
154+ # the identical build succeeds locally, and its output stops dead at
155+ # Compiling hello195 v0.1.0 (.)
156+ # Segmentation fault (core dumped)
157+ # with nothing to say which stage died. The e2e jobs deliberately do not
158+ # set MCPP_VERBOSE (they assert mcpp's default quiet output), so this runs
159+ # the same build once, verbosely, in its own directory, and never fails the
160+ # job — the next run of it will name the stage.
161+ #
162+ # Delete this step once the crash is understood.
163+ - name : " diagnose: verbose trace of the crashing build"
164+ continue-on-error : true
165+ run : |
166+ cd "$(mktemp -d)"
167+ "$MCPP" new hellodiag
168+ cd hellodiag
169+ printf '\n[toolchain]\nlinux = "llvm@22.1.8"\n' >> mcpp.toml
170+ printf 'import std;\nint main() { std::println("diag"); return 0; }\n' > src/main.cpp
171+ ulimit -c unlimited || true
172+ MCPP_VERBOSE=1 "$MCPP" build 2>&1 | tail -60 || echo "exit=$?"
173+
153174 - name : " issue #195 reproduction: manifest llvm toolchain, fresh"
154175 run : |
155176 cd "$(mktemp -d)"
You can’t perform that action at this time.
0 commit comments