CI acceptance tests (MANUAL) #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: CI acceptance tests (MANUAL) | |
on: | |
workflow_dispatch: | |
inputs: | |
lyoBranch: | |
description: 'Lyo branch to test on' | |
required: true | |
default: 'master' | |
link: | |
description: 'PR/issue link (e.g., to Lyo)' | |
jobs: | |
build: | |
runs-on: [ubuntu-latest] | |
timeout-minutes: 15 | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk: ['17'] | |
distribution: ['temurin', 'corretto', 'microsoft', 'adopt-openj9', 'zulu'] | |
experimental: [false] | |
include: | |
- jdk: '21' | |
distribution: 'temurin' | |
experimental: false | |
- jdk: '22' | |
distribution: 'zulu' | |
experimental: true | |
- jdk: '23-ea' | |
distribution: 'zulu' | |
experimental: true | |
continue-on-error: ${{ matrix.experimental }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: eclipse/lyo | |
ref: "${{ github.event.inputs.lyoBranch }}" | |
path: lyo-trunk | |
- uses: actions/checkout@v4 | |
with: | |
path: main | |
- name: Set up JDK ${{ matrix.jdk }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: ${{ matrix.distribution }} | |
java-version: ${{ matrix.jdk }} | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-${{ matrix.jdk }}_${{ matrix.distribution }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.jdk }}_${{ matrix.distribution }}-maven- | |
- name: Build Lyo locally (branch ${{ github.event.inputs.lyoBranch }}) | |
run: mvn -B clean install --file lyo-trunk/pom.xml -DskipTests -Dmaven.javadoc.skip=true | |
- name: Run tests on RefImpl | |
run: mvn -B -Pacceptance clean verify --file main/src/pom.xml | |