-
Notifications
You must be signed in to change notification settings - Fork 925
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
Use ubicloud-standard-16 to run CI builds #6065
Conversation
To get more benefits from parallelism.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
.github/workflows/actions_build.yml
Outdated
@@ -96,7 +96,7 @@ jobs: | |||
- name: Build with Gradle (Shading only) | |||
run: | | |||
./gradlew --no-daemon --stacktrace shadedJar shadedTestJar trimShadedJar \ | |||
${{ startsWith(matrix.on, 'ubicloud') && '--max-workers=8' || '--max-workers=2' }} --parallel \ | |||
${{ startsWith(matrix.on, 'ubicloud') && '--max-workers=12' || '--max-workers=2' }} --parallel \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about just keeping it as 8 even though there are 16 vCPU?
I think 8 workers are enough and we changed this machine due to the memory issue. 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we could reduce the cost a bit, but let's keep it at 8.
The running time was reduced by about 20% with ubicloud-standard-16. |
To get more benefits from parallelism.