Skip to content

CI: a build program that ran is known by its compiled file, not by its status line - #38

Merged
Sunrisepeak merged 1 commit into
mainfrom
ci/a-build-program-is-a-file-not-a-line
Sep 29, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
ci/a-build-program-is-a-file-not-a-line

Conversation

@speak-agent

Copy link
Copy Markdown
Member

The qt import-only check asserted that no build program ran by searching the build log for build.mcpp running. mcpp 2026.9.29.5 (mcpp-community/mcpp#742) writes one line per program, build.mcpp <package> ran <time>, so the search would pass whether or not a program ran once this CI's mcpp pin moves to that release.

A program that runs is compiled first into the package's target/, so the check now asks whether build.mcpp.bin or build.mcpp.exe exists there. Checked in both directions with the build of #742: a package with a build.mcpp leaves target/.build-mcpp/build.mcpp.bin, and the same package without one leaves nothing. The check holds for the pinned 2026.9.28.3 as well, so this pull request changes no pin.

…s status line

check-deps-and-qt.sh asserted that the qt import-only package runs no build
program with `! grep -q 'build.mcpp running'`. mcpp 2026.9.29.5 writes one
line per program (`build.mcpp <package>  ran <time>`), so that search would
pass whether or not a program ran once the CI's mcpp pin moves past it. A
program that runs is compiled first into the package's target/, so the check
now asks for build.mcpp.bin or build.mcpp.exe there, which holds for every
mcpp version.
@Sunrisepeak
Sunrisepeak merged commit 048193d into main Sep 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants