Skip to content

Java CI with Gradle #522

Java CI with Gradle

Java CI with Gradle #522

Workflow file for this run

---
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:
distribution: 'zulu'
java-version: '${{ matrix.jdk }}'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- 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