Repository navigation
👷 Reduce compute used by check runs - #130
Merged
Merged
Conversation
kammce
force-pushed
the
ci-cost-reduction
branch
from
October 16, 2026 23:26
723b317 to
2e07b80
Compare
package_and_upload_all.yml now has two modes. Check runs (version "latest", nothing uploaded) build MinSizeRel only and a sample of Cortex-M architectures (M0+ when allowed, M3, M4F, M33F). Deploys still build every build type and architecture. A first "Plan" job picks the build types and architectures in one shell script, and the build jobs read its outputs. Every build job gets a timeout so a hung runner (e.g. the LLVM 20 ASan deadlock on macOS 26) can no longer run for six hours. baremetal_package.sh gains --build-types, and the package step names now show the compiler profile instead of an undefined input.
kammce
force-pushed
the
ci-cost-reduction
branch
from
October 16, 2026 23:49
2e07b80 to
626c8dd
Compare
kammce
added a commit
that referenced
this pull request
Oct 17, 2026
Adds a semantic-release workflow for this repository, so ci releases are cut from commit subjects like every other libhal repository instead of by hand. It calls this repository's semantic_release.yml at the pushed commit, with one line for 5.x from the repository root. Merging this releases 5.25.0, the first release with semantic_release.yml (#129) and the reduced check runs (#130).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cuts the compute used by CI on pull requests and pushes, without changing what deploys build.
Changes
Check vs. deploy mode in
package_and_upload_all.yml. Whenversionislatest(nothing is uploaded):MinSizeRelis built;Deploys (a version is set) still build every build type and architecture.
A first 📋 Plan job makes these choices in one shell
if/elseand outputs the build types and Cortex-M job list. The build jobs read those outputs, so the rule lives in one place.Timeouts: 30 min for host package builds and tests, 45 min for Cortex-M, 15 min for lint and docs. The last two Self Check runs on main had Mac jobs hang for 6 hours (LLVM 20 ASan deadlock on macOS 26).
baremetal_package.sh --build-typespicks which build types to create. It defaults to all three.package_and_upload.ymlgets abuild_typesinput, and its step names now show the compiler profile instead of the undefinedinputs.profile.Self Check's package filter now includes
baremetal_package.sh.Notes
5.x.ymoves. They need no changes.package-libhal_v4Mac job will hit the new 30-minute timeout.