Skip to content

Commit

Permalink
Don't run tests using PMU in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fzhinkin committed Sep 9, 2023
1 parent 1d13e95 commit 29892ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Check with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: check
arguments: -PnoPMU check

check-macos-latest:
runs-on: macos-13
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Check with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: check
arguments: -PnoPMU check

check-macos-11:
runs-on: macos-11
Expand All @@ -57,4 +57,4 @@ jobs:
- name: Check with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: check
arguments: -PnoPMU check
4 changes: 2 additions & 2 deletions integration/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ val hasXCtrace: Boolean by lazy {

tasks {
create("runAsmProfWithDefaultArgs", JavaExec::class.java) {
onlyIf { hasXCtrace }
onlyIf { hasXCtrace && !project.hasProperty("noPMU") }
dependsOn.add("jmhJar")

classpath += jmhJar.get().outputs.files
mainClass = "io.github.fzhinkin.XCTraceAsmProfilerTest"
}
create("runAsmProfWithExplicitCpuProfiler", JavaExec::class.java) {
onlyIf { hasXCtrace }
onlyIf { hasXCtrace && !project.hasProperty("noPMU") }
dependsOn.add("jmhJar")
classpath += jmhJar.get().outputs.files
mainClass = "io.github.fzhinkin.XCTraceAsmProfilerTest"
Expand Down

0 comments on commit 29892ef

Please sign in to comment.