2018-02-15 09:53:39 -05:00
|
|
|
language: java
|
2018-02-17 01:55:05 -05:00
|
|
|
install: true
|
2020-06-15 06:27:17 -04:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
jdk: openjdk11
|
|
|
|
env:
|
2021-08-17 06:28:20 -04:00
|
|
|
- EXAMPLES_PROFILE="release"
|
2020-06-15 06:27:17 -04:00
|
|
|
- os: linux
|
2022-07-04 04:46:48 -04:00
|
|
|
jdk: openjdk17
|
2020-06-15 06:27:17 -04:00
|
|
|
env:
|
2021-08-24 07:49:50 -04:00
|
|
|
- EXAMPLES_PROFILE="examples,noRun"
|
2018-02-21 13:10:40 -05:00
|
|
|
|
2018-03-09 11:31:37 -05:00
|
|
|
# clean out Artemis artifacts from the cache
|
2018-10-08 07:31:40 -04:00
|
|
|
before_install:
|
|
|
|
- rm -rf $HOME/.m2/repository/org/apache/activemq/artemis-*
|
2018-03-09 11:31:37 -05:00
|
|
|
|
2018-02-21 13:10:40 -05:00
|
|
|
# use 'install' so smoke-tests will work
|
|
|
|
# use '-Pextra-tests' to ensure extra-tests compiles even though they won't actually run
|
2019-02-27 12:34:43 -05:00
|
|
|
# By setting anything to org.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED we are disabling libaio loading on the testsuite
|
2018-04-17 13:47:21 -04:00
|
|
|
script:
|
|
|
|
- set -e
|
2021-08-24 10:10:17 -04:00
|
|
|
- mvn -s .github/maven-settings.xml -ntp -Dorg.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED=AnythingNotNull -Dmaven.test.redirectTestOutputToFile=true -Derrorprone -Pdev -Pfast-tests -Pextra-tests -Ptests-CI -Pjmh -B install
|
2018-04-17 13:47:21 -04:00
|
|
|
- cd examples
|
2021-08-24 07:49:50 -04:00
|
|
|
- mvn -s ../.github/maven-settings.xml verify -P${EXAMPLES_PROFILE} -B -q
|
2018-02-21 13:10:40 -05:00
|
|
|
|
2018-02-15 09:53:39 -05:00
|
|
|
cache:
|
|
|
|
directories:
|
2018-02-17 01:55:05 -05:00
|
|
|
- $HOME/.m2
|
2020-06-05 11:06:48 -04:00
|
|
|
before_cache:
|
2018-03-09 12:39:41 -05:00
|
|
|
- rm -rf $HOME/.m2/repository/org/apache/activemq/artemis-*
|
2021-08-24 07:49:50 -04:00
|
|
|
- rm -rf $HOME/.m2/repository/org/apache/activemq/*-artemis
|
|
|
|
- rm -rf $HOME/.m2/repository/org/apache/activemq/examples
|