-
Notifications
You must be signed in to change notification settings - Fork 57
33 lines (29 loc) · 774 Bytes
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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@v4
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*'