NO-JIRA: ensure a check build is done with -Prelease on JDK11

catch compile issues in extra openwire tests during activemq 5.x updates
This commit is contained in:
Robbie Gemmell 2024-10-04 15:44:32 +01:00
parent 3f06186527
commit 6bfc849997
1 changed files with 8 additions and 1 deletions

View File

@ -108,7 +108,14 @@ jobs:
ref: ${{ env.EXAMPLES_BRANCH }}
path: activemq-artemis-examples
- name: Build Main
- name: Build Main (JDK11 / -Prelease)
if: matrix.java == '11'
run: |
cd activemq-artemis
mvn -s .github/maven-settings.xml -DskipTests -Derrorprone -Pdev -Prelease -Dgpg.skip install
- name: Build Main (JDK >11)
if: matrix.java != '11'
run: |
cd activemq-artemis
mvn -s .github/maven-settings.xml -DskipTests -Derrorprone -Pdev -Pjmh install