-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (29 loc) · 1.17 KB
/
Copy pathci.yml
File metadata and controls
35 lines (29 loc) · 1.17 KB
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: CI
# REF-23: Build the OIO IDWS / LSBS reference reactor on every PR and on pushes
# to the mainline branches. Integration tests are NOT run here: the integrationtest/*
# modules are live end-to-end tests that need Java (and .NET) WSPs running, and the
# bootstrap scenarios require a MOCES certificate password entered interactively — none
# of which is available on a CI runner. This job mirrors the supported local build:
# mvn clean install -DskipTests on JDK 8.
on:
push:
branches: [master, develop]
pull_request:
jobs:
build:
name: Build (JDK 8)
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
# JDK 8 is REQUIRED, not just targeted: cxf-codegen's wsdl2java depends on
# javax.activation, removed from the JDK after Java 8. On Java 11+ the build
# fails with NoClassDefFoundError: javax/activation/DataSource.
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '8'
cache: maven
- name: Build (skip integration tests)
run: mvn --batch-mode --no-transfer-progress clean install -DskipTests