-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (35 loc) · 855 Bytes
/
ci.yaml
File metadata and controls
37 lines (35 loc) · 855 Bytes
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
34
35
36
37
name: CI
on:
push:
branches: [ main ]
pull_request:
jobs:
ci:
name: CI
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
version: [11, 17, 21]
exclude:
- os: windows-latest
version: 21
- os: windows-latest
version: 17
- os: macos-latest
version: 21
- os: macos-latest
version: 17
steps:
- name: Checkout sources
uses: actions/checkout@v5
- name: Set up Java
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '${{ matrix.version }}'
cache: maven
- name: Test Java
run: mvn --no-transfer-progress -B clean install