2021-10-27 21:09:52 -04:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
# or more contributor license agreements. See the NOTICE file
|
|
|
|
# distributed with this work for additional information
|
|
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
|
|
# to you 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: GitHub CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, windows-latest]
|
|
|
|
java: [8, 11]
|
2022-04-09 22:38:09 -04:00
|
|
|
fail-fast: true
|
2021-10-27 21:09:52 -04:00
|
|
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2022-03-02 11:55:35 -05:00
|
|
|
uses: actions/checkout@v3
|
2021-10-27 21:09:52 -04:00
|
|
|
|
|
|
|
- name: Set up JDK
|
2022-05-04 12:43:59 -04:00
|
|
|
uses: actions/setup-java@v3.3.0
|
2021-10-27 21:09:52 -04:00
|
|
|
with:
|
2022-04-09 22:38:09 -04:00
|
|
|
distribution: temurin
|
2021-10-27 21:09:52 -04:00
|
|
|
java-version: ${{ matrix.java }}
|
2021-12-15 09:29:05 -05:00
|
|
|
cache: 'maven'
|
2021-10-27 21:09:52 -04:00
|
|
|
|
|
|
|
- name: Build with Maven
|
2022-04-09 22:38:09 -04:00
|
|
|
run: mvn -e -B -V install
|
|
|
|
|