Skip to content

Standardize CI and tag-driven MaixPy releases - #223

Draft
lxowalle wants to merge 1 commit into
mainfrom
codex/standard-release-ci
Draft

lxowalle wants to merge 1 commit into
mainfrom
codex/standard-release-ci

Conversation

@lxowalle

@lxowalle lxowalle commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

The current release workflows require a manually published Release and use a moving Ubuntu runner. This caused Python 3.8/3.9 setup failures and exposed yaml-cpp's missing integer-type include under GCC 15.

This replaces the three duplicate daily builds with a read-only CI workflow and reuses the same Linux/MaixCAM builders for releases. Stable tag pushes now validate the source version, build Linux Python 3.8–3.13 wheels, MaixCAM/Pro images and docs, then assemble and verify a complete artifact bundle before publishing a draft Release. PyPI becomes a separate manual workflow consuming verified platform-tagged Linux wheels.

Builds pin Ubuntu 22.04, CMake 3.22.1, MaixCDK commit 83f8b8d, build tools, and SHA-256-verified image inputs. A checked-in SDK compatibility patch fixes yaml-cpp in isolated CI checkouts; the existing developer SDK checkout is unchanged. Provenance records source/SDK/CI revisions, tool versions, input hashes and artifact checksums. Native gen_os.sh/update_img.sh remain the image entry points.

Validation: 12 release-tool tests, actionlint 1.7.7, Bash/Python syntax checks, compilation of the patched yaml-cpp source, and board/version verification against both locally built images.

Operational notes:

  • The existing v4.12.6 tag and published Release are not moved or replaced.
  • Manual Release runs default to build-only and support rebuilding an old tag with the new CI tooling.
  • The configured base image remains official 20251230; local workstation images are not uploaded implicitly.
  • This preserves existing Linux/MaixCAM/Pro coverage; it does not add MaixCAM2 image CI.
  • The legacy RISC-V py3-none-any wheel stays on GitHub rather than being published to PyPI as a portable wheel.

This branch has not been deployed

No deployments
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