-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (31 loc) · 909 Bytes
/
ci.yml
File metadata and controls
33 lines (31 loc) · 909 Bytes
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
name: GitHub Actions CI
on:
push:
branches-ignore:
- 'gh-pages'
- '*tag*'
- 'test/run-all-tests'
schedule:
- cron: '30 04 * * *'
jobs:
build:
strategy:
matrix:
java: [17, 21, 25]
fail-fast: false
name: Java ${{ matrix.java }}
runs-on: ubuntu-latest
steps:
# If we get the same IP on concurrent builds and this triggers an error
# on the API (rate limiting), this can be easily debugged by checking the log
- name: Get IP
run: 'echo IP: $(dig +short myip.opendns.com @resolver1.opendns.com)'
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Java ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: temurin
- name: Build with Maven
run: mvn install -B -V -DtestsDayLimit=7