Adding optional Configuration to Machine that can be used to enable a… #373
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java Build | |
permissions: {} | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main", "release-*"] | |
concurrency: | |
group: java-build-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ ubuntu-20.04 ] | |
java: [ "8", "11", "17" ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
cache: 'maven' | |
- name: Verify with Maven | |
run: mvn --batch-mode --errors --update-snapshots verify | |
- name: Run benchmarks | |
run: mvn test '-Dtest=Benchmarks#CL2*' |