Skip to content

Commit 2707e04

Browse files
authored
Fix benchmark-overhead compilation (#13418)
1 parent dd1f892 commit 2707e04

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/build-common.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ jobs:
415415
run: ./gradlew :smoke-tests:test -PsmokeTestSuite=none --no-daemon ${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
416416

417417
- name: Test
418-
run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }}${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
418+
run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} ${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
419419

420420
- name: Upload jvm crash dump files if any
421421
if: failure()
@@ -489,13 +489,17 @@ jobs:
489489
working-directory: gradle-plugins
490490

491491
- name: Build distro
492-
run: ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
492+
run: ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts ${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
493493
working-directory: examples/distro
494494

495495
- name: Build extension
496-
run: ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
496+
run: ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts ${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
497497
working-directory: examples/extension
498498

499+
- name: Build benchmark-overhead
500+
run: ./gradlew assemble ${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
501+
working-directory: benchmark-overhead
502+
499503
- name: Run muzzle check against extension
500504
run: ./gradlew muzzle --init-script ../../.github/scripts/local.init.gradle.kts
501505
working-directory: examples/extension

benchmark-overhead/build.gradle.kts

+1-4
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,11 @@ dependencies {
2828
testImplementation("org.slf4j:slf4j-simple:2.0.17")
2929

3030
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
31+
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
3132
}
3233

3334
tasks {
3435
test {
3536
useJUnitPlatform()
36-
testLogging {
37-
exceptionFormat = TestExceptionFormat.FULL
38-
showStandardStreams = true
39-
}
4037
}
4138
}

0 commit comments

Comments
 (0)