Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BXMSPROD-963 pull_request.yml updated #154

Merged
merged 8 commits into from
Sep 4, 2020
52 changes: 23 additions & 29 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,29 @@ name: Build Chain
on: [pull_request]

jobs:
build-chain-openjdk8:
build-chain:
strategy:
matrix:
java-version: [8, 11]
fail-fast: true
runs-on: ubuntu-latest
name: Pull Request openjdk8
name: Maven Build
steps:
- uses: actions/checkout@v2
- name: Build Chain
id: build-chain
uses: kiegroup/github-action-build-chain@openjdk8
with:
parent-dependencies: 'droolsjbpm-build-bootstrap'
child-dependencies: 'appformer'
build-command: 'mvn -e -nsu -Dfull -Pwildfly clean install -Prun-code-coverage -Dcontainer.profile=wildfly -Dcontainer=wildfly -Dintegration-tests=true -Dmaven.test.failure.ignore=true -DjvmArgs="-Xms1g -Xmx4g"'
build-command-upstream: "mvn -e -T1C clean install -DskipTests -Dgwt.compiler.skip=true -Dgwt.skipCompilation=true -Denforcer.skip=true -Dcheckstyle.skip=true -Dspotbugs.skip=true -Drevapi.skip=true"
workflow-file-name: "pull_request.yml"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
build-chain-openjdk11:
runs-on: ubuntu-latest
name: Pull Request openjdk11
steps:
- uses: actions/checkout@v2
- name: Build Chain
id: build-chain
uses: kiegroup/github-action-build-chain@openjdk11
with:
parent-dependencies: 'droolsjbpm-build-bootstrap'
child-dependencies: 'appformer'
build-command: 'mvn -e -nsu -Dfull -Pwildfly clean install -Prun-code-coverage -Dcontainer.profile=wildfly -Dcontainer=wildfly -Dintegration-tests=true -Dmaven.test.failure.ignore=true -DjvmArgs="-Xms1g -Xmx4g"'
build-command-upstream: "mvn -e -T1C clean install -DskipTests -Dgwt.compiler.skip=true -Dgwt.skipCompilation=true -Denforcer.skip=true -Dcheckstyle.skip=true -Dspotbugs.skip=true -Drevapi.skip=true"
workflow-file-name: "pull_request.yml"
env:
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java-version }}
- name: Build Chain ${{ matrix.java-version }}
id: build-chain
uses: kiegroup/github-action-build-chain@v1.4
with:
parent-dependencies: 'droolsjbpm-build-bootstrap'
child-dependencies: 'appformer'
build-command: 'mvn -e -nsu -Dfull -Pwildfly install -Prun-code-coverage -Dcontainer.profile=wildfly -Dcontainer=wildfly -Dintegration-tests=true -Dmaven.test.failure.ignore=true'
build-command-upstream: |
mvn -e -T1C install -DskipTests -Dgwt.compiler.skip=true -Dgwt.skipCompilation=true -Denforcer.skip=true -Dcheckstyle.skip=true -Dspotbugs.skip=true -Drevapi.skip=true
rm -rf ./*
workflow-file-name: "pull_request.yml"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"