From bf6b0fd9f9950695b5ed6cc522f9a8d9999d50ad Mon Sep 17 00:00:00 2001 From: Abhishek Agarwal <1477457+abhishekagarwal87@users.noreply.github.com> Date: Thu, 19 Dec 2024 16:33:58 +0530 Subject: [PATCH] Speed up builds in few places (#17591) --- .github/workflows/static-checks.yml | 2 +- it.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/static-checks.yml b/.github/workflows/static-checks.yml index 778a79db7618..6a149a46a6d3 100644 --- a/.github/workflows/static-checks.yml +++ b/.github/workflows/static-checks.yml @@ -71,7 +71,7 @@ jobs: if: ${{ matrix.java == '17' }} # errorprone requires JDK 11+ # Strict compilation requires more than 2 GB - run: ${MVN} clean -DstrictCompile compile test-compile --fail-at-end ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS} + run: ${MVN} clean -DstrictCompile compile test-compile --fail-at-end ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS} -T1C - name: maven install if: ${{ matrix.java == '17' }} diff --git a/it.sh b/it.sh index 12519c24b54d..cf9e02e2b2cc 100755 --- a/it.sh +++ b/it.sh @@ -229,7 +229,7 @@ case $CMD in usage ;; "ci" ) - mvn -q clean install dependency:go-offline -P dist $MAVEN_IGNORE + mvn -q clean install dependency:go-offline -P dist $MAVEN_IGNORE -T1C ;; "build" ) mvn -B clean install -P dist $MAVEN_IGNORE -T1.0C $*