-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (37 loc) · 1.1 KB
/
mvn.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
name: MVN Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: ./parsec-docker-test-image/parsec_docker_cache
key: ${{ runner.os }}-parsec_docker_cache-${{ github.sha }}
restore-keys: |
${{ runner.os }}-parsec_docker_cache-
- name: Set up JDK 16
uses: actions/setup-java@v2
with:
java-version: '16'
distribution: 'zulu'
architecture: x64
cache: maven
- name: Build with Maven
# still needs work to get tests running on java 16
run: ./mvnw --batch-mode clean verify -DskipTests=true
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'zulu'
architecture: x64
cache: maven
- name: Build with Maven
run: ./mvnw --batch-mode clean verify