feat: Add CI workflows

This commit is contained in:
2024-01-09 17:50:25 +01:00
parent e389c3a012
commit 54b8cfc579
2 changed files with 59 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
name: Build
on:
pull_request:
workflow_call:
jobs:
gradle:
name: Gradle build
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.5
- name: Run build and tests
run: ./gradlew buildAll