Skip to content

ci: don't run per-platform jobs if there's nothing to build#2673

Open
bgilbert wants to merge 1 commit intomesonbuild:masterfrom
bgilbert:need-build
Open

ci: don't run per-platform jobs if there's nothing to build#2673
bgilbert wants to merge 1 commit intomesonbuild:masterfrom
bgilbert:need-build

Conversation

@bgilbert
Copy link
Collaborator

The prelude job does all the sanity checks except the actual build. If it finds there's nothing to build (because there are no new releases), don't bother spawning 19 platform-specific jobs that won't have anything to do.

The job could diff releases.json directly, rather than using an output from sanity_checks.py, but the latter preserves a single source of truth for when TEST_SKIP_BUILD has skipped something.

The prelude job does all the sanity checks except the actual build.  If it
finds there's nothing to build (because there are no new releases), don't
bother spawning 19 platform-specific jobs that won't have anything to do.

The job could diff releases.json directly, rather than using an output
from sanity_checks.py, but the latter preserves a single source of truth
for when TEST_SKIP_BUILD has skipped something.
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.

1 participant