-
Notifications
You must be signed in to change notification settings - Fork 98
53 lines (47 loc) · 1.31 KB
/
pull_request.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
42
43
44
45
46
47
48
49
50
51
52
53
name: JVM and OS matrix
on:
push:
branches: [0.8.x]
pull_request:
branches: [0.8.x]
paths-ignore:
- 'LICENSE*'
- '.gitignore'
- '**.md'
- '**.adoc'
- '*.txt'
jobs:
build:
concurrency:
group: pull_request-${{ github.event_name }}-${{ github.head_ref }}-${{ matrix.os }}-${{ matrix.java-version }}
cancel-in-progress: true
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
java-version: [ 11, 17, 20 ] #Latest two LTS + latest non-LTS.
timeout-minutes: 120
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: ${{matrix.java-version}}
distribution: 'temurin'
cache: 'maven'
- name: Build and test timefold-solver
run: mvn -B -Dfull verify
native:
concurrency:
group: pull_request-${{ github.event_name }}-${{ github.head_ref }}
cancel-in-progress: true
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: 'maven'
- name: Build and test timefold-solver in Native mode
run: mvn -B -Dnative verify