Add GitHub workflows

This commit is contained in:
Peter Palaga
2020-05-28 19:07:07 +02:00
parent 97ebe989e1
commit 40cf6f64a3

48
.github/workflows/verify.yaml vendored Normal file
View File

@@ -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