Skip to content

BXMSPROD-2083: use of OptaPlanner final version #1704

BXMSPROD-2083: use of OptaPlanner final version

BXMSPROD-2083: use of OptaPlanner final version #1704

Workflow file for this run

name: Build Chain
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled]
paths-ignore:
- 'LICENSE*'
- '.gitignore'
- '*.md'
- '*.txt'
- 'docs/**'
- 'ide-configuration/**'
- 'script/**'
jobs:
os-prep:
runs-on: ubuntu-latest
outputs:
os: ${{ steps.set-os.outputs.operating-systems }}
steps:
- name: OS Preparation
id: set-os
uses: kiegroup/kie-ci/.ci/actions/os-preparation@main
build-chain:
needs: os-prep
concurrency:
group: pull_request-${{ github.head_ref }}-${{ matrix.java-version }}
cancel-in-progress: true
strategy:
matrix:
os: ${{ fromJSON(needs.os-prep.outputs.os) }}
java-version: [8, 11]
maven-version: ['3.8.1']
fail-fast: true
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} - Java ${{ matrix.java-version }} - Maven
steps:
- name: Support long paths
if: ${{ matrix.os == 'windows-latest' }}
uses: kiegroup/kie-ci/.ci/actions/long-paths@main
- name: Java and Maven Setup
uses: kiegroup/kie-ci/.ci/actions/maven@main
with:
java-version: ${{ matrix.java-version }}
maven-version: ${{ matrix.maven-version }}
cache-key-prefix: ${{ runner.os }}-${{ matrix.java-version }}-maven${{ matrix.maven-version }}
- name: Build Chain
uses: kiegroup/kie-ci/.ci/actions/build-chain@main
with:
definition-file: https://raw.githubusercontent.com/${GROUP:kiegroup}/droolsjbpm-build-bootstrap/${BRANCH:main}/.ci/pull-request-config.yaml
annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }}
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Surefire Report
uses: kiegroup/kie-ci/.ci/actions/surefire-report@main
if: ${{ always() }}