-
Notifications
You must be signed in to change notification settings - Fork 1
56 lines (49 loc) · 1.24 KB
/
Copy pathpull-request.yml
File metadata and controls
56 lines (49 loc) · 1.24 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Verify Pull Request
on:
pull_request:
paths:
- '.github/workflows/**'
- '**/src/**'
- '**/pom.xml'
- 'pom.xml'
permissions:
contents: read
jobs:
verify:
name: Verify
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v7.0.1
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Setup Java
uses: actions/setup-java@v6.0.0
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Run Tests
run: mvn -B -ntp clean install
verify-native:
name: Verify Native
strategy:
matrix:
os:
- ubuntu-24.04
- windows-2025
- macos-14
- macos-15
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v7.0.1
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Setup GraalVM
uses: graalvm/setup-graalvm@v1.6.4
with:
java-version: '25'
distribution: 'graalvm-community'
- name: Run Tests
run: mvn -B -ntp -PnativeTest clean install