-
-
Notifications
You must be signed in to change notification settings - Fork 20
37 lines (34 loc) · 1.03 KB
/
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
34
35
36
37
name: Build
on:
push:
workflow_dispatch:
jobs:
build-8-11:
runs-on: ubuntu-22.04
strategy:
matrix:
jdk: [ '8', '9', '10', '11' ]
name: JDK ${{ matrix.jdk }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.jdk }}
cache: 'maven'
- run: mvn verify -Dgpg.skip -Dmaven.compiler.source=6 -Dmaven.compiler.target=6
# JDK12+ no longer supports JDK6 as source/target
build-12-plus:
runs-on: ubuntu-22.04
strategy:
matrix:
jdk: [ '12', '13', '14', '15', '16', '17', '18' ]
name: JDK ${{ matrix.jdk }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.jdk }}
cache: 'maven'
- run: mvn verify -Dgpg.skip -Dmaven.compiler.source=7 -Dmaven.compiler.target=7