mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-25 21:40:05 +00:00
Expanded Forge build budgets
- Sandbox nested builds divide reserved workers across matrix lanes - Sandbox nested JVM processor counts follow each lane worker budget - Forge targets reserve eight workers and 16 GiB with two test forks
This commit is contained in:
1 parent
e1ff5447ca
commit
826a752437
2 files changed
+12
-6
No files matched your search
@@ -56,14 +56,15 @@ gradle.projectsEvaluated {
|
||||
: target[loaderPins[loader]].toString()
|
||||
String displayedPin = pin.startsWith(minecraft + '-') ? pin.substring(minecraft.length() + 1) : pin
|
||||
String artifactName = "Iris v${project.version} [${label}] ${minecraft}+${displayedPin}.jar"
|
||||
boolean forge = loader == 'forge'
|
||||
buildTargets.add([
|
||||
id: "${loader}-${minecraft}".toString(),
|
||||
tasks: [":verify${label}${minecraft.replace('.', '_')}".toString()],
|
||||
arguments: ['-PmoddedBuildParallelism=1', '-PmoddedTestForks=1',
|
||||
arguments: ['-PmoddedBuildParallelism=1', "-PmoddedTestForks=${forge ? 2 : 1}".toString(),
|
||||
'-PmultiplexorSandbox=true'],
|
||||
java: 25,
|
||||
memoryMiB: 8192,
|
||||
workers: 2,
|
||||
memoryMiB: forge ? 16384 : 8192,
|
||||
workers: forge ? 8 : 2,
|
||||
dependsOn: [],
|
||||
artifacts: [[path: "adapters/${loader}/build/${minecraft}/libs/${artifactName}".toString(),
|
||||
role: 'runtime', platforms: [loader], minecraftVersions: [minecraft]]]
|
||||
|
||||
Reference in new issue
Block a user