Migrate to build-mpy-native-module action - #1
Merged
Conversation
Replaces the hand-rolled 42-job matrix (5 MicroPython versions x 9 architectures with manual toolchain setup, caching, and the static const sed) with a single invocation of BrianPugh/build-mpy-native-module@v1 building mpy 6.2 and 6.3 for all architectures. Artifacts are now named by mpy subversion (pythontemplate-<ver>-mpy6.3-armv6m.mpy instead of -mpy1.23-), since the subversion + architecture pair is what determines device compatibility. x64 unit tests now run per mpy subversion against the matching MicroPython runtime. Also fixes the release tarball name, which previously interpolated an unset VERSION in the release job. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Migrates the template's build workflow to
BrianPugh/build-mpy-native-module@v1, following the same migration tamp just completed (BrianPugh/tamp#341). The hand-rolled 42-job matrix (5 MicroPython versions × 9 architectures, manual toolchain installs/caching, static-const sed) becomes a single action invocation: 142 lines deleted, 66 added.pythontemplate-<ver>-mpy6.3-armv6m.mpyinstead of-mpy1.23-— the mpy subversion + architecture pair is what actually determines device compatibility, and redundant builds (v1.23/1.24/1.25/1.26 all produce identical-compatibility mpy 6.3) collapse to one.env.VERSIONin therelease_uploadjob where it was never set, producingpythontemplate-.tar.gz; the version is now computed in that job.pythontemplatestrings thatbootstraprewrites across*.yamlfiles.🤖 Generated with Claude Code