From 7ef0c148de975f3d77aac7f78776ed9efee1cf52 Mon Sep 17 00:00:00 2001 From: Marcel May Date: Fri, 23 Dec 2022 16:04:03 +0100 Subject: [PATCH] Github ci (backport) --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000000..0a90c57678 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: ci +on: + push: + branches: [master,releases/1.6.x] + paths-ignore: + - "**/*.md" + - "docs/**" + pull_request: + paths-ignore: + - "**/*.md" + - "docs/**" +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + java: [ '8', '11', '17' ] + name: Java ${{ matrix.Java }} + steps: + - uses: actions/checkout@v3 + - name: Setup java + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: ${{ matrix.java }} + cache: 'maven' + - name: Build with Maven + # See https://maven.apache.org/ref/3.8.6/maven-embedder/cli.html + run: mvn --batch-mode -V --fail-at-end --errors install