Skip to content

4 threads for testing, 1.5 per core parallel maven build. #1155

4 threads for testing, 1.5 per core parallel maven build.

4 threads for testing, 1.5 per core parallel maven build. #1155

Workflow file for this run

name: Java CI
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- uses: actions/checkout@v3
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: graalvm
cache: 'maven'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build with Maven
run: ./mvnw -T 1.5C -batch-mode clean install -Ppre --file pom.xml