-
Notifications
You must be signed in to change notification settings - Fork 3
51 lines (42 loc) · 1.18 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
name: Java CI with Gradle
on:
push:
branches: [devel, main]
pull_request:
branches: [main]
schedule:
- cron: '0 10 * * 1'
jobs:
build:
name: ${{ matrix.name }} with JDK ${{ matrix.jdk }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
jdk: [8, 11, 17]
include:
- os: macos-latest
name: macOS
- os: ubuntu-latest
name: Ubuntu
- os: windows-latest
name: Windows
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v4
with:
java-version: '${{ matrix.jdk }}'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Execute Gradle build
run: ./gradlew build
- name: Execute profiling tests (stats)
run: python3 tests/gather-stats.py
- name: Execute profiling tests (memory)
run: python3 tests/run.py --mode memory --ci
- name: Execute profiling tests (time)
run: python3 tests/run.py --mode time --ci