-
Notifications
You must be signed in to change notification settings - Fork 12
27 lines (27 loc) · 1004 Bytes
/
ci.yml
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
name: "Pull Request CI"
on:
- pull_request
jobs:
linux-build-released-jvm:
name: Linux - JVM build - released Quarkus
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11 ]
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Install JDK {{ matrix.java }}
# Uses sha for added security since tags can be updated
uses: joschi/setup-jdk@e87a7cec853d2dd7066adf837fe12bf0f3d45e52
with:
java-version: openjdk${{ matrix.java }}
- name: Build with Maven
run: mvn -s .github/mvn-settings.xml clean test -Dts.limit-extensions=1
- name: Verify extension that needs special properties
run: mvn -s .github/mvn-settings.xml clean test -Dts.includes-combinations-only-with-extensions=oidc -Dts.limit-extensions=1