.github/workflows/build_mpy_cross.yml: Build various mpy-cross binaries. #10834
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.
This provides binaries that will be used to generate mpy-cross binaries for inclusion in a future PyPI package.
Includes Linux (32-bit and 64-bit), Windows (32-bit and 64-bit), aarch64 (e.g. 64-bit Raspberry Pi 4), armhf (e.g. earlier 32-bit Raspberry Pi), macos (x64, works on M1/ARM too). This is the same set that @andrewleech provides currently for https://pypi.org/project/mpy-cross/ via https://gitlab.com/alelec/mpy_cross/-/blob/master/.gitlab-ci.yml
Demo artifacts are here: https://github.com/jimmo/micropython/actions/runs/4259908934
Tested both Windows builds in Wine, armhf on a Raspberry Pi 3 running Buster, macos on an M1.
I have a Raspberry 4, will test the aarch64 build there soon. Can test the Windows builds on real Windows next week.
Currently using Ubuntu Bionic as the build environment (so that it supports older glibc, i.e. Ubuntu Bionic LTS and Debian Buster). This is deprecated, but we can move to Focal when support is removed (which will support the current Debian/Raspbian Bullseye and Ubuntu LTS).
This work was funded through GitHub Sponsors.