-
Notifications
You must be signed in to change notification settings - Fork 611
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
Parallelize build process during CI #1123
Comments
Hard-coding it to |
MacOS have 3 or 4 cores. Also, I thought linux had 4, but the official documentation says 2. https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners |
There are 2 section in the documenation: for public repositories, linux has 4 and private its 2. As valkey is public repo so linux should have 4. |
I can create a PR for hard coding it. |
When building the process, we can use multiple cores with
-j
. Seevalkey/.github/workflows/ci.yml
Line 20 in dcac3e1
We can hardcode it based off the known number of cores based off of the runner, we could also look into dynamically discovering the number of cores.
The text was updated successfully, but these errors were encountered: