Skip to content

Commit a9d922d

Browse files
OlegDokukaOlegDokuka
authored andcommitted
backports ci build speed improvements (#3597)
Signed-off-by: Oleh Dokuka <[email protected]> Signed-off-by: OlegDokuka <[email protected]>
1 parent 10c6ea6 commit a9d922d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ jobs:
8080
- uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a # tag=v2
8181
name: other tests
8282
with:
83-
arguments: check -x :reactor-core:test -x spotlessCheck --no-daemon
83+
arguments: check -x :reactor-core:test -x spotlessCheck --no-daemon -Pjcstress.mode=sanity

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ jobs:
6161
- uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a # tag=v2
6262
name: other tests
6363
with:
64-
arguments: check -x :reactor-core:test -x spotlessCheck --no-daemon -DuseSnapshotMicrometerVersion=true
64+
arguments: check -x :reactor-core:test -x spotlessCheck --no-daemon -DuseSnapshotMicrometerVersion=true -Pjcstress.mode=default

reactor-core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ blockHoundTest {
272272
}
273273

274274
jcstress {
275-
mode = 'quick' //quick, default, tough
275+
mode = project.hasProperty('jcstress.mode') ? project.getProperty('jcstress.mode') : 'quick'//quick, default, tough
276276
jcstressDependency 'org.openjdk.jcstress:jcstress-core:0.16'
277277
heapPerFork = 512
278278
}

0 commit comments

Comments
 (0)