- Notifications
You must be signed in to change notification settings - Fork 295
Add support for GitHub Actions #194
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
Conversation
ed22fc7 to a42d97e Compare | Woohoo, great, @mayeut! |
| Python 3.5 on Windows works after patching distutils. I'm trying to identify if there was a regression in setuptools to signal that at setuptools rather than patching distutils. |
d8feda1 to e0f1907 Compare db20951 to f6a7e72 Compare 8513808 to 2b7f621 Compare
joerick left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keen to get this in! Just docs to go? I'm happy to help out if you like, it should just be a sample config and a few updates here and there?
e44ce72 to 5fb2a5b Compare | Really appreciate your work guys, waiting for this pull request to finally be able to create wheels for my projects on github |
1ecb5e2 to 39471f1 Compare 39471f1 to b6d650f Compare a02bdcd to 5919223 Compare 63db44a to 10084c2 Compare | @mayeut Is there any update? What needs to be done to properly support GitHub Actions? |
| I meant to say @mayeut, I can see this is a popular feature, I'm happy to take over this PR and write some docs if you don't have time at the moment? |
| It was missing a patch in setuptools which has been released yesterday. |
| A quick reminder to check the table in |
| Fantastic, thanks @mayeut! I'll take a good look soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple notes; comments inline.
Only other thing I wonder is- should this be the first CI service listed in setup.md, rather than the last? What's your impression of Github Actions, generally? I ask because Azure currently has that spot (because it was the first multi-platform service and has great build times) but I wonder if this might be simpler and have a better DX. Any thoughts @mayeut ?
| matrix: | ||
| os: [ubuntu-18.04, windows-latest, macos-latest] | ||
| steps: | ||
| - uses: actions/checkout@v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actions/checkout@v2 seems to be the current version, maybe go with that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that version 2 doesn’t support submodules. Just an aside.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, forget my comment then, v1 works :)
| matrix: | ||
| os: [ubuntu-18.04, windows-latest, macos-latest] | ||
| steps: | ||
| - uses: actions/checkout@v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above, maybe use v2?
| One thing which might be worth testing with the provided example is the behaviour if cibuildwheel fails. I have had very confusing experiences with Github Actions on Windows: the default shell is powershell, and it seems exit with a success code despite one or more commands in a multi-line failing. I ended switching over to |
f84e186 to 4165907 Compare 626e2b8 to b797430 Compare
Not sure it helps you decide the order but just my 2 cents on this: |
| A couple more cents: One nice feature of GHA is no special setup/permissions. Azure seems to always be a bit of a headache to get more than one collaborator on because it has a separate repo and permissions model. The performance is generally very similar (since they are pretty much the same platform in the backend). Azure is more powerful (manual build triggers, release pipelines). |
| Thanks both. I'm leaning towards putting it at the top for the reasons you describe. This PR looks ready to me! Any more comments before we merge? |
| Minor detail, but we could eliminate CircleCI running on Python 3.7 on macOS, since it's already running on Python 3.6 anyway. |
| Thanks all! I'll try to get a release out with this very soon! |
| Released as 1.3.0! |
Draft:
Closes #159
Here's a summary of python versions / CI providers used to test
cibuildwheelafter this PR: