-
Notifications
You must be signed in to change notification settings - Fork 12
41 lines (40 loc) · 1.22 KB
/
pr-ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Pull Request CI
on:
workflow_dispatch:
pull_request:
branches:
- 1.x
- 2.x
- 3.x
jobs:
build:
runs-on: ${{ matrix.os }}-jdk${{ matrix.java }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java: ['11', '21']
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
# ELY-2204 - Temporarily preventing OidcTest from running on macOS since there
# are intermittent issues with starting up the Docker container.
#- if: matrix.os == 'macos-latest'
# name: Install docker
# run: |
# brew install docker docker-machine docker-compose
# brew services start docker-machine
# docker-machine create --driver virtualbox default
# docker --version
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Version Info
run: mvn -version
- name: Build with Maven
run: mvn -B verify --file pom.xml