From e5192d988f5e111d8276c811ce132deb4afab5f9 Mon Sep 17 00:00:00 2001 From: HoneySkull Date: Sat, 3 Feb 2024 13:49:29 -0600 Subject: [PATCH] Gradle build JVM thrashing fix. --- .github/workflows/ci.yml | 2 +- .github/workflows/code-coverage.yml | 2 +- .github/workflows/nightly-ci.yml | 2 +- .github/workflows/nightly-maven-ci.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e0e4ff07..93ff026dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -100,7 +100,7 @@ jobs: - name: Build with Gradle uses: gradle/gradle-build-action@v2 with: - arguments: build --stacktrace --scan + arguments: build --stacktrace --max-workers=1 --scan build-root-directory: megameklab # If the build step fails, try to upload any test logs in case it was a unit test failure. diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml index 6be6ff110..4009cd523 100644 --- a/.github/workflows/code-coverage.yml +++ b/.github/workflows/code-coverage.yml @@ -71,7 +71,7 @@ jobs: - name: Build with Gradle uses: gradle/gradle-build-action@v2 with: - arguments: build --stacktrace --scan + arguments: build --stacktrace --max-workers=1 --scan build-root-directory: megameklab # If the build step fails, try to upload any test logs in case it was a unit test failure. diff --git a/.github/workflows/nightly-ci.yml b/.github/workflows/nightly-ci.yml index dd6b24045..1614676cd 100644 --- a/.github/workflows/nightly-ci.yml +++ b/.github/workflows/nightly-ci.yml @@ -64,7 +64,7 @@ jobs: - name: Build with Gradle uses: gradle/gradle-build-action@v2 with: - arguments: clean build -x test --continue --stacktrace --scan + arguments: clean build -x test --continue --stacktrace --max-workers=1 --scan build-root-directory: megameklab - name: Upload Test Logs on Failure diff --git a/.github/workflows/nightly-maven-ci.yml b/.github/workflows/nightly-maven-ci.yml index 467598dc4..980b9c918 100644 --- a/.github/workflows/nightly-maven-ci.yml +++ b/.github/workflows/nightly-maven-ci.yml @@ -63,7 +63,7 @@ jobs: - name: Build with Gradle uses: gradle/gradle-build-action@v2 with: - arguments: clean build --continue --stacktrace --scan + arguments: clean build --continue --stacktrace --max-workers=1 --scan build-root-directory: megameklab - name: Upload Test Logs on Failure