Skip to content
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

CI: Detect if build/test is needed #299

Open
leofang opened this issue Dec 13, 2024 · 0 comments
Open

CI: Detect if build/test is needed #299

leofang opened this issue Dec 13, 2024 · 0 comments
Labels
CI/CD CI/CD infrastructure enhancement Any code-related improvements P0 High priority - Must do!

Comments

@leofang
Copy link
Member

leofang commented Dec 13, 2024

Not all PRs would require full build/test pipelines (as we currently do today). For example, if a PR only touches code in cuda.core, then

  1. we don't need to rebuild cuda.bindings
    • The build artifacts can be reused from the latest main branch
  2. we don't need to re-test cuda.bindings

We should add detection logics to inform the CI workflows so that we can save CI time (and thereby reducing the costs). The same logic can be applied to nightly tests too (#294).

@leofang leofang added CI/CD CI/CD infrastructure enhancement Any code-related improvements P0 High priority - Must do! labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD CI/CD infrastructure enhancement Any code-related improvements P0 High priority - Must do!
Projects
None yet
Development

No branches or pull requests

1 participant