Use --no-daemon on windows builds
MODIFY
.github/workflows/ci.yml
.github/workflows/ci.yml
@@ -192,7 +192,8 @@ jobs:
env:
S3_BUILD_CACHE_ACCESS_KEY_ID: ${{ secrets.S3_BUILD_CACHE_ACCESS_KEY_ID }}
S3_BUILD_CACHE_SECRET_KEY: ${{ secrets.S3_BUILD_CACHE_SECRET_KEY }}
- run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }}
+ # using --no-daemon because windows builds have been sporadically running out of virtual memory
+ run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} --no-daemon
setup-muzzle-matrix:
runs-on: ubuntu-latest

MODIFY
.github/workflows/nightly-no-cache.yml
.github/workflows/nightly-no-cache.yml
@@ -151,7 +151,8 @@ jobs:
key: ${{ runner.os }}-gradle-wrapper-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
- name: Test
- run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} --no-build-cache
+ # using --no-daemon because windows builds have been sporadically running out of virtual memory
+ run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} --no-build-cache --no-daemon
# muzzle is intentionally not included in the nightly-no-cache build because
# it doesn't use gradle cache anyways and so is already covered by the normal nightly build

MODIFY
.github/workflows/nightly.yml
.github/workflows/nightly.yml
@@ -192,7 +192,8 @@ jobs:
env:
S3_BUILD_CACHE_ACCESS_KEY_ID: ${{ secrets.S3_BUILD_CACHE_ACCESS_KEY_ID }}
S3_BUILD_CACHE_SECRET_KEY: ${{ secrets.S3_BUILD_CACHE_SECRET_KEY }}
- run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }}
+ # using --no-daemon because windows builds have been sporadically running out of virtual memory
+ run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} --no-daemon
setup-muzzle-matrix:
runs-on: ubuntu-latest

MODIFY
.github/workflows/patch-release-build.yml
.github/workflows/patch-release-build.yml
@@ -162,7 +162,8 @@ jobs:
git cherry-pick ${{ github.event.inputs.commits }}
- name: Test
- run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }}
+ # using --no-daemon because windows builds have been sporadically running out of virtual memory
+ run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} --no-daemon
# muzzle is intentionally not included in the release workflows
# because any time a new library version is released to maven central it can fail,

MODIFY
.github/workflows/pr.yml
.github/workflows/pr.yml
@@ -191,7 +191,8 @@ jobs:
key: ${{ runner.os }}-gradle-wrapper-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
- name: Test
- run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }}
+ # using --no-daemon because windows builds have been sporadically running out of virtual memory
+ run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} --no-daemon
setup-muzzle-matrix:
runs-on: ubuntu-latest

MODIFY
.github/workflows/release-build.yml
.github/workflows/release-build.yml
@@ -97,7 +97,8 @@ jobs:
key: ${{ runner.os }}-gradle-wrapper-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
- name: Test
- run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }}
+ # using --no-daemon because windows builds have been sporadically running out of virtual memory
+ run: ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} --no-daemon
# muzzle is intentionally not included in the release workflows
# because any time a new library version is released to maven central it can fail,

Use --no-daemon on windows builds (#4000)