-
Notifications
You must be signed in to change notification settings - Fork 2.6k
37 lines (34 loc) · 1.27 KB
/
java-ea.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: Flowable Java EA Build
on:
push:
branches:
- main
- 'flowable-release-*'
env:
MAVEN_ARGS: >-
-B -V --no-transfer-progress
-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
jobs:
test_jdkea:
name: Linux (OpenJDK EA)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache Maven Repository
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Install
# If installing the JDK is in a different step then wrong java would be used
# Need to do install first in order for the OSGi tests to work
run: |
. ./.github/actions/scripts/install-jdk.sh --feature ea --os linux-x64
./mvnw install ${MAVEN_ARGS} -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: Test
# If installing the JDK is in a different step then wrong java would be used
run: |
. ./.github/actions/scripts/install-jdk.sh --feature ea --os linux-x64
./mvnw verify -Pdistro,errorLogging ${MAVEN_ARGS} -Dmaven.test.redirectTestOutputToFile=false
continue-on-error: true