-
Notifications
You must be signed in to change notification settings - Fork 102
41 lines (36 loc) · 1.08 KB
/
pull_request_native.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: GraalVM Native
on:
pull_request:
branches: [main]
paths-ignore:
- 'LICENSE*'
- '.gitignore'
- '**.md'
- '**.adoc'
- '*.txt'
jobs:
native:
concurrency:
group: pull_request_native-${{ github.event_name }}-${{ github.head_ref }}-${{ matrix.module }}-${{ matrix.java-version }}
cancel-in-progress: true
runs-on: ubuntu-latest
strategy:
matrix:
module: ["spring-integration", "quarkus-integration"]
java-version: [ 17, 21, 22 ] #Latest two LTS + latest non-LTS.
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: ${{matrix.java-version}}
distribution: 'graalvm-community'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
- name: Quickly build timefold-solver
run: mvn -B -Dquickly clean install
- name: Test timefold-solver in Native mode
run: |
cd ${{matrix.module}}
mvn -B -Dnative verify