-
Notifications
You must be signed in to change notification settings - Fork 7.5k
55 lines (51 loc) · 1.23 KB
/
test.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: JavaCI
on: [push, pull_request]
jobs:
ubuntu_build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11, 17, 19]
steps:
- uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
cache: 'maven'
- name: Build with Maven
run: mvn clean install -P full
windows_build:
runs-on: windows-2019
strategy:
matrix:
java: [8, 11]
steps:
- uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
cache: 'maven'
- name: Build with Maven
run: mvn clean install -P full
macos_build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [8, 11]
os:
- macos-latest
- macos-14
steps:
- uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
cache: 'maven'
- name: Build with Maven
run: mvn clean install -P full