Skip to content

Allow passing number of thread for building and testing to CI #19359

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 35 commits into from
Jun 16, 2025

Conversation

hukasu
Copy link
Contributor

@hukasu hukasu commented May 24, 2025

Objective

Fixes #16051
Closes #16145

Solution

Allow passing --build-jobs and --test-threads to ci
i.e.

cargo run -p ci -- --build-jobs 4 --test-threads 4

Testing

running ci locally

@BD103 BD103 added C-Feature A new feature, making something new possible A-Build-System Related to build systems or continuous integration D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels May 25, 2025
Copy link
Member

@janhohenheim janhohenheim left a comment

Choose a reason for hiding this comment

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

Looks sensible to me

@janhohenheim janhohenheim added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jun 15, 2025
@hukasu hukasu changed the title Test threads in ci doc test Allow passing number of thread for building and testing to CI Jun 15, 2025
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Jun 16, 2025
Merged via the queue into bevyengine:main with commit c8cb7bd Jun 16, 2025
47 checks passed
@hukasu hukasu deleted the test-threads-in-ci-doc-test branch June 19, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Build-System Related to build systems or continuous integration C-Feature A new feature, making something new possible D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow passing --jobs to ci to prevent OOM on home machines
5 participants