Skip to content

Commit

Permalink
Parallelize maven builds by default
Browse files Browse the repository at this point in the history
Adding these parameters defaults all maven builds from this
directory to using a parallelized mode if running on a multi-core
machine. It can significantly improve build performance when
compiling multiple modules.
  • Loading branch information
ZacBlanco committed May 22, 2024
1 parent b258543 commit cf0ac07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-other-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
./mvnw install ${MAVEN_FAST_INSTALL} -pl '!:presto-docs,!:presto-server,!presto-test-coverage'
- name: Maven Tests
run: |
./mvnw test ${MAVEN_TEST} -pl '
./mvnw test -T 1 ${MAVEN_TEST} -pl '
!presto-tests,
!presto-accumulo,
!presto-cassandra,
Expand Down
2 changes: 2 additions & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-T
1C

0 comments on commit cf0ac07

Please sign in to comment.