-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Action for generate CI matrix #166
Comments
@messense do you think you will be able to work on this? Otherwise, there's a chance the pydantic team might be able to. @davidhewitt do you have and thoughts on this? |
I'm a bit busy recently, help appreciated! |
I think this is done now? At least there's a |
I think |
I maintain three packages that use maturin-action, and it's great.
The hardest part is setting up CI to generate all the right binaries.
I propose we create a separate action to generate the github actions matrix with the right variables set for
maturin-action
to use to generate binaries.The list-python-dependencies package, and in particular it's readme shows the workflow for this:
GITHUB_OUTPUT
env var - code example hereoutputs:
to include that outputPYTHON_DEPENDENCY_CASE: ${{ fromJSON(needs.find_dependency_cases.outputs.PYTHON_DEPENDENCY_CASES) }}
maturin-action
in the steps for that jobWe could have switches to exclude/skip some targets, much like cibuildwheel offers, and a switch for
abi3
etc.A big advantages of this would be that without any extra work from maintainers, more and more targets could be added as maturin-action supports them - or remove if there are known issues.
Example current
matrix
sections:Demo of how this might finally look in a workflow yaml file:
The text was updated successfully, but these errors were encountered: