Commit 6c13349
committed
ci(cross): scope the artefact search to the target tree; record B3
The cross-build itself succeeded on the first real Windows run — 'Finished
release [optimized] in 119.09s', resolving through
x86_64-linux-musl-g++.exe, which is B1's fix working. The job still failed,
for two reasons worth separating:
1. target/ holds the host build from the previous step alongside the cross
build, and both are named mcpp*. The search now starts at
target/x86_64-linux-musl/ so it cannot pick up the wrong one.
2. The artefact is named mcpp.exe despite being an ELF. plan.cppm's
target_output() spells the suffix from mcpp::platform::exe_suffix — a HOST
constant — so this is the same host-decides-target confusion as B2, and it
is symmetric: a Linux→Windows cross produces a PE with no .exe today.
B3 is filed in the design doc (§6.5) rather than fixed here. Renaming build
outputs is a behaviour change that reaches the mingw e2e, the release packaging
paths and any user script, and neither direction is actually broken today —
folding a regression-prone rename into this PR would defeat the layered-commit
discipline the series was built around. The job matches both spellings so it is
correct before and after that fix.
Also prints the tree on failure, so the next person does not have to fetch the
job log to find out what was actually produced.1 parent 08f6638 commit 6c13349
2 files changed
Lines changed: 48 additions & 2 deletions
File tree
- .agents/docs
- .github/workflows
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
634 | 664 | | |
635 | 665 | | |
636 | 666 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
344 | 356 | | |
345 | | - | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
346 | 362 | | |
347 | 363 | | |
348 | 364 | | |
| |||
0 commit comments