|
| 1 | +# Licensed to the Apache Software Foundation (ASF) under one |
| 2 | +# or more contributor license agreements. See the NOTICE file |
| 3 | +# distributed with this work for additional information |
| 4 | +# regarding copyright ownership. The ASF licenses this file |
| 5 | +# to you under the Apache License, Version 2.0 (the |
| 6 | +# "License"); you may not use this file except in compliance |
| 7 | +# with the License. You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, |
| 12 | +# software distributed under the License is distributed on an |
| 13 | +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 14 | +# KIND, either express or implied. See the License for the |
| 15 | +# specific language governing permissions and limitations |
| 16 | +# under the License. |
| 17 | + |
1 | 18 | name: Java CI |
2 | 19 |
|
3 | | -on: [push] |
| 20 | +on: [push, pull_request] |
4 | 21 |
|
5 | 22 | jobs: |
6 | 23 | build: |
7 | 24 |
|
8 | | - runs-on: ubuntu-latest |
| 25 | + strategy: |
| 26 | + matrix: |
| 27 | + os: [ubuntu-latest, windows-latest, macOS-latest] |
| 28 | + fail-fast: false |
| 29 | + |
| 30 | + runs-on: ${{ matrix.os }} |
9 | 31 |
|
10 | 32 | steps: |
11 | | - - uses: actions/checkout@v1 |
12 | | - - name: Set up JDK 1.8 |
13 | | - uses: actions/setup-java@v1 |
14 | | - with: |
15 | | - java-version: 1.8 |
16 | | - - name: Build with Maven |
17 | | - run: mvn install -e -B -V -nsu --no-transfer-progress -P run-its |
| 33 | + - name: Checkout |
| 34 | + uses: actions/checkout@v1 |
| 35 | + |
| 36 | + - name: Set up JDK 1.8 |
| 37 | + uses: actions/setup-java@v1 |
| 38 | + with: |
| 39 | + java-version: 1.8 |
| 40 | + |
| 41 | + - name: Build with Maven |
| 42 | + run: mvn install -e -B -V -nsu --no-transfer-progress -P run-its |
0 commit comments