From 40cf6f64a35dbef8253c19f08c0c1df8ff761cdb Mon Sep 17 00:00:00 2001 From: Peter Palaga Date: Thu, 28 May 2020 19:07:07 +0200 Subject: [PATCH] Add GitHub workflows --- .github/workflows/verify.yaml | 48 +++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/workflows/verify.yaml diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml new file mode 100644 index 00000000..f2c3931b --- /dev/null +++ b/.github/workflows/verify.yaml @@ -0,0 +1,48 @@ +# +# Copyright (c) 2017 Angelo Zerr and other contributors as +# indicated by the @author tags. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +name: Linux & Windows CI + +on: [push, pull_request] + +jobs: + linux: + runs-on: ubuntu-18.04 + strategy: + matrix: + java: [ 8, 11, 14 ] + steps: + - uses: actions/checkout@v1 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: Build with Maven + run: ./mvnw clean verify -B -ntp + windows: + runs-on: windows-2019 + strategy: + matrix: + java: [ 8, 11, 14 ] + steps: + - uses: actions/checkout@v1 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: Build with Maven + run: ./mvnw clean verify -B -ntp