From 24cf5558b421a88033438143fc7e573f4aabd5d7 Mon Sep 17 00:00:00 2001 From: Thomas Nymand Date: Mon, 27 Jul 2026 11:58:52 +0200 Subject: [PATCH] REF-23: Add GitHub Actions CI pipeline Build the OIO IDWS / LSBS reference reactor on pull requests and on pushes to master/develop. Uses JDK 8 (required by cxf-codegen's wsdl2java, which depends on javax.activation) and runs mvn clean install -DskipTests; integration tests are excluded as they need running WSPs and an interactive MOCES password. --- .github/workflows/ci.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e0877b2 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,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