-
Notifications
You must be signed in to change notification settings - Fork 2.6k
35 lines (32 loc) · 1.03 KB
/
main.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
name: Flowable Main Build
on: [push, pull_request]
env:
MAVEN_ARGS: >-
-B -V --no-transfer-progress
-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
jobs:
test_jdk:
name: Linux (JDK ${{ matrix.java }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [1.8, 11, 13, 17]
steps:
- uses: actions/checkout@v2-beta
with:
fetch-depth: 10
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Cache Maven Repository
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Install
# Need to do install first in order for the OSGi tests to work
run: ./mvnw install ${MAVEN_ARGS} -DskipTests=true -Dmaven.javadoc.skip=true
- name: Test
run: ./mvnw verify -Pdistro,ui,errorLogging ${MAVEN_ARGS} -Dmaven.test.redirectTestOutputToFile=false