Skip to content
Snippets Groups Projects
Unverified Commit e6f9f1b2 authored by Enrique Mingorance Cano's avatar Enrique Mingorance Cano Committed by GitHub
Browse files

BXMSPROD-963 pull_request.yml updated (#888)

* BXMSPROD-963 pull_request.yml updated

* BXMSPROD-963 pull_request.yml updated. build chain v1.3

* BXMSPROD-963 pull_request.yml updated. Testing master

* BXMSPROD-963 pull_request.yml updated. kiegroup/github-action-build-chain@v1.4

* BXMSPROD-963 pull_request.yml updated. -DjvmArgs removed

* BXMSPROD-963 pull_request.yml updated. rm -rf for upstream commands

* BXMSPROD-963 pull_request.yml updated. clean removed from every mvn command
parent b07f7ff2
Branches
Tags
No related merge requests found
......@@ -3,35 +3,29 @@ name: Build Chain
on: [pull_request]
jobs:
build-chain-openjdk8:
build-chain:
strategy:
matrix:
java-version: [8, 11]
fail-fast: false
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
- name: Set up JDK
uses: actions/setup-java@v1
with:
parent-dependencies: 'optaplanner-wb'
child-dependencies: 'jbpm-work-items'
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
java-version: ${{ matrix.java-version }}
- name: Build Chain ${{ matrix.java-version }}
id: build-chain
uses: kiegroup/github-action-build-chain@openjdk11
uses: kiegroup/github-action-build-chain@v1.4
with:
parent-dependencies: 'optaplanner-wb'
child-dependencies: 'jbpm-work-items'
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"
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 }}"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment