Skip to content

ci: split building, aggregating and uploading in separate jobs #171

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

Merged
merged 13 commits into from
May 27, 2025

Conversation

Hofer-Julian
Copy link
Contributor

@Hofer-Julian Hofer-Julian commented May 27, 2025

  • Before we had one job responsible for both building and uploading
  • Now we have three jobs:
    • building
    • aggregating
    • uploading

This should also make it easier for external repositories to depend on these artifacts. I've also simplified the matrix generator and renamed a few things to make them more readable

This should also make it easier for external repositories to depend on these artifacts
@Hofer-Julian Hofer-Julian marked this pull request as ready for review May 27, 2025 12:44
workflow_dispatch:


name: "Build and publish backends"
name: "Conda Packages"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we can change the name and use a verb to describe what we are doing in this workflow?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what I do in the job name.

So you see something like: "Conda Packages/Build`

@@ -8,11 +8,10 @@ on:
- "pixi-build-rust-v[0-9]+.[0-9]+.[0-9]+"
# Build all backends on main branch
branches: [main]
pull_request:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't want to run it on every pull_request to ensure that is buildable?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically yes.
But it takes really long, since we have no caching and our macOS runners are always starved. Until we fix that, I think we have to stick with main

Copy link
Contributor

@nichmor nichmor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

amazing!

@Hofer-Julian Hofer-Julian enabled auto-merge (squash) May 27, 2025 12:51
@Hofer-Julian Hofer-Julian merged commit bcbf315 into prefix-dev:main May 27, 2025
7 checks passed
@Hofer-Julian Hofer-Julian deleted the ci/split-ci-job branch May 27, 2025 12:57
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.

2 participants