diff --git a/.github/workflows/tests-smoke.yml b/.github/workflows/tests-smoke.yml index 7a914284c4..c01793cf80 100644 --- a/.github/workflows/tests-smoke.yml +++ b/.github/workflows/tests-smoke.yml @@ -13,7 +13,7 @@ jobs: test-matrix: strategy: matrix: - os: [ ubuntu-latest, windows-latest ] + os: [ ubuntu-latest, windows-latest, macos-latest ] fail-fast: false runs-on: ${{ matrix.os }} steps: diff --git a/build-logic/src/main/kotlin/dokkabuild.java.gradle.kts b/build-logic/src/main/kotlin/dokkabuild.java.gradle.kts index fb5605233e..a42029b5f8 100644 --- a/build-logic/src/main/kotlin/dokkabuild.java.gradle.kts +++ b/build-logic/src/main/kotlin/dokkabuild.java.gradle.kts @@ -20,11 +20,8 @@ java { tasks.withType().configureEach { useJUnitPlatform() - maxParallelForks = if (System.getenv("GITHUB_ACTIONS") != null) { - Runtime.getRuntime().availableProcessors() - } else { - (Runtime.getRuntime().availableProcessors() / 2).coerceAtLeast(1) - } + maxHeapSize = "1G" + maxParallelForks = (Runtime.getRuntime().availableProcessors() / 2).coerceAtLeast(1) javaLauncher = javaToolchains.launcherFor { languageVersion = dokkaBuild.testJavaLauncherVersion