This closes #3191
This commit is contained in:
commit
205b61dd85
|
@ -0,0 +1,38 @@
|
||||||
|
name: "Build"
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
java: [ 8, 11, 14 ]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.m2/repository
|
||||||
|
!~/.m2/repository/org/apache/activemq/artemis-*
|
||||||
|
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-maven-
|
||||||
|
|
||||||
|
- name: Install JDK ${{ matrix.java }}
|
||||||
|
uses: actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
java-version: ${{ matrix.java }}
|
||||||
|
|
||||||
|
# use 'install' so smoke-tests will work
|
||||||
|
# use '-Pextra-tests' to ensure extra-tests compiles even though they won't actually run
|
||||||
|
# By setting anything to org.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED we are disabling libaio loading on the testsuite
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
set -e
|
||||||
|
mvn -Dorg.apache.activemq.artemis.core.io.aio.AIOSequentialFileFactory.DISABLED=AnythingNotNull -Djdk8-errorprone -Pfast-tests -Pextra-tests -Ptests-CI -B install -q
|
||||||
|
cd examples
|
||||||
|
mvn install -PnoRun -B -q
|
||||||
|
|
1
pom.xml
1
pom.xml
|
@ -1672,6 +1672,7 @@
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>.repository/**</exclude>
|
<exclude>.repository/**</exclude>
|
||||||
<exclude>.travis.yml</exclude>
|
<exclude>.travis.yml</exclude>
|
||||||
|
<exclude>.github/workflows/*</exclude>
|
||||||
<exclude>**/footer.html</exclude>
|
<exclude>**/footer.html</exclude>
|
||||||
<exclude>**/*.txt</exclude>
|
<exclude>**/*.txt</exclude>
|
||||||
<exclude>**/*.md</exclude>
|
<exclude>**/*.md</exclude>
|
||||||
|
|
Loading…
Reference in New Issue