CI: Build wheels on every PR#79
Draft
pniedzielski wants to merge 14 commits into
Draft
Conversation
0f95728 to
dabd522
Compare
dabd522 to
2210b9c
Compare
Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
`git clone --depth 1` can fail to fetch an annotated tag (which has a different SHA than the object it points to). This patch performs the the real solution, to not do a shallow clone. A full clone is a little more expensive than a shallow clone, but not by much, and we only need to do this when we update our dependencies. Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
When we added an explicit tag to pin libbmq to in CI, we didn’t update the caching logic in CI. As such, every time the BlazingMQ’s repo’s `main` branch changes, the Python SDK’s CI rebuilds its dependencies, even if we’ve already built all dependencies at their pinned tags. This patch uses a hash of the `bin/clone-dependencies.sh` script as the cache key to avoid these unnecessary builds. Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
This patch enables the `build_wheel.yml` workflow to run on each pull request. Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
2210b9c to
2ed15de
Compare
Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
fde423b to
a11a076
Compare
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.
This patch enables the
build_wheel.ymlworkflow to run on each pull request.Closes: #