-
Notifications
You must be signed in to change notification settings - Fork 82
54 lines (50 loc) · 1.6 KB
/
QualityOutreach.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Quality_Outreach
on: workflow_dispatch
jobs:
build:
name: 'Java ${{ matrix.java }} on ${{ matrix.os }}'
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
java: [ 17-ea, 16, 15, 14 ]
runs-on: ${{ matrix.os }}
steps:
- name: 'Check out repository'
uses: actions/checkout@v2
- name: 'Set up JDK ${{ matrix.java }}'
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: 'Print Java version'
run: java -version
- name: 'Build with Maven'
run: mvn --batch-mode --no-transfer-progress verify
projects:
name: 'Project ${{ matrix.project }} on ${{ matrix.os }}'
needs: [ build ]
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ] # , macos-latest, windows-latest ]
project: [ Loom, Panama, Valhalla ]
exclude:
- { os: macos-latest, project: Valhalla } # missing 'libjli.dylib'
runs-on: ${{ matrix.os }}
steps:
- name: 'Check out repository'
uses: actions/checkout@v2
- name: 'Download JDK'
id: download-jdk
uses: sormuras/download-jdk@v1
with:
feature: ${{ matrix.project }}
- name: 'Set up JDK, Project ${{ matrix.project }}'
uses: actions/setup-java@v1
with:
java-version: ${{ steps.download-jdk.outputs.version }}
jdkFile: "${{ steps.download-jdk.outputs.file }}"
- name: 'Print Java version'
run: java -version
- name: 'Build with Maven'
run: mvn --batch-mode --no-transfer-progress verify