From b022ab003229a02a185cda8a80a084ffb4168c04 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Sat, 31 Jul 2021 15:12:20 +0200 Subject: [PATCH] Create multi-os-jdk8-with-current-maven-ci.yml --- .../multi-os-jdk8-with-current-maven-ci.yml | 77 +++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 .github/workflows/multi-os-jdk8-with-current-maven-ci.yml diff --git a/.github/workflows/multi-os-jdk8-with-current-maven-ci.yml b/.github/workflows/multi-os-jdk8-with-current-maven-ci.yml new file mode 100644 index 00000000..3cd53357 --- /dev/null +++ b/.github/workflows/multi-os-jdk8-with-current-maven-ci.yml @@ -0,0 +1,77 @@ +# 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: JDK 8 on Linux, Windows and macOS +on: + push: + branches: + - master + - '*' + pull_request: + branches: + - '*' + +jobs: + linux: + name: Linux + runs-on: ubuntu-latest + container: "maven:3.6.3-jdk-8-slim" + steps: + - uses: actions/checkout@v2 + - uses: actions/cache@v1 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-ubuntu-latest-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven-ubuntu-latest- + - name: 'Build' + run: mvn -B -V --no-transfer-progress -Prun-its clean verify --fail-at-end + windows: + name: 'Windows' + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/cache@v1 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-windows-latest-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven-windows-latest- + - name: 'Set up JDK 8' + uses: actions/setup-java@v1 + with: + java-version: 8 + - name: 'Build' + shell: bash + run: mvn -B -V --no-transfer-progress -Prun-its clean verify --fail-at-end + mac: + name: 'Mac OS' + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/cache@v1 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-macos-latest-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven-macos-latest- + - name: 'Set up JDK 8' + uses: actions/setup-java@v1 + with: + java-version: 8 + - name: 'Build' + run: mvn -B -V --no-transfer-progress -Prun-its clean verify --fail-at-end