Skip to content

Commit

Permalink
Add maven multithreading and color console output.
Browse files Browse the repository at this point in the history
  • Loading branch information
motlin committed Jun 3, 2024
1 parent 3b80167 commit bfbbf49
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
with:
distribution: 'zulu'
java-version: 11
- run: ./mvnw --color=always verify
- run: ./mvnw --threads 2C --color=always verify
env:
MAVEN_OPTS: "-Xmx1g"

Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
java-version: 11

- name: Run maven-enforcer-plugin
run: ./mvnw verify --activate-profiles maven-enforcer-plugin -DskipTests
run: ./mvnw --threads 2C --color=always verify --activate-profiles maven-enforcer-plugin -DskipTests
env:
MAVEN_OPTS: "-Xmx1g"

Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
java-version: 11

- name: Run maven-dependency-plugin
run: ./mvnw verify --activate-profiles maven-dependency-plugin -DskipTests
run: ./mvnw --threads 2C --color=always verify --activate-profiles maven-dependency-plugin -DskipTests
env:
MAVEN_OPTS: "-Xmx1g"

Expand Down Expand Up @@ -248,11 +248,11 @@ jobs:
distribution: 'zulu'
java-version: 11
- name: JavaDoc Aggregate
run: ./mvnw verify --activate-profiles maven-javadoc-plugin --color=always -Dsurefire.useFile=false -DskipTests javadoc:aggregate --projects '!unit-tests,!serialization-tests,!jcstress-tests,!junit-trait-runner,!unit-tests-java8,!test-coverage,!p2-repository,!org.eclipse.collections:org.eclipse.collections'
run: ./mvnw --threads 2C --color=always verify --activate-profiles maven-javadoc-plugin --color=always -Dsurefire.useFile=false -DskipTests javadoc:aggregate --projects '!unit-tests,!serialization-tests,!jcstress-tests,!junit-trait-runner,!unit-tests-java8,!test-coverage,!p2-repository,!org.eclipse.collections:org.eclipse.collections'
env:
MAVEN_OPTS: "-Xmx1g"
- name: JavaDoc Jar
run: ./mvnw verify --activate-profiles maven-javadoc-plugin --color=always -Dsurefire.useFile=false -DskipTests javadoc:jar --projects '!unit-tests,!serialization-tests,!jcstress-tests,!junit-trait-runner,!unit-tests-java8,!test-coverage,!p2-repository,!org.eclipse.collections:org.eclipse.collections'
run: ./mvnw --threads 2C --color=always verify --activate-profiles maven-javadoc-plugin --color=always -Dsurefire.useFile=false -DskipTests javadoc:jar --projects '!unit-tests,!serialization-tests,!jcstress-tests,!junit-trait-runner,!unit-tests-java8,!test-coverage,!p2-repository,!org.eclipse.collections:org.eclipse.collections'
env:
MAVEN_OPTS: "-Xmx1g"

Expand Down Expand Up @@ -289,7 +289,7 @@ jobs:
echo "steps.download-jdk.outputs.version = ${{ steps.download-jdk.outputs.version }}"
- run: java --version
- name: Javadoc
run: ./mvnw verify --activate-profiles maven-javadoc-plugin --color=always -Dsurefire.useFile=false -DskipTests javadoc:aggregate --projects '!unit-tests,!serialization-tests,!jcstress-tests,!junit-trait-runner,!unit-tests-java8,!test-coverage,!p2-repository,!org.eclipse.collections:org.eclipse.collections'
run: ./mvnw --threads 2C --color=always verify --activate-profiles maven-javadoc-plugin --color=always -Dsurefire.useFile=false -DskipTests javadoc:aggregate --projects '!unit-tests,!serialization-tests,!jcstress-tests,!junit-trait-runner,!unit-tests-java8,!test-coverage,!p2-repository,!org.eclipse.collections:org.eclipse.collections'
env:
MAVEN_OPTS: "-Xmx2g"

Expand Down

0 comments on commit bfbbf49

Please sign in to comment.