Speed up builds in few places (#17591)

This commit is contained in:
Abhishek Agarwal 2024-12-19 16:33:58 +05:30 committed by GitHub
parent 78ce97ac95
commit bf6b0fd9f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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' }}

2
it.sh
View File

@ -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 $*