Add ci workflow

- Relates #165
This commit is contained in:
Janne Valkealahti
2023-03-07 09:40:12 +00:00
parent 611256b3ec
commit 72a5ac4ce3

27
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: CI
on:
workflow_dispatch:
push:
paths-ignore:
- '.github/**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- nickname: linux jdk17
java: 17
name: CI Build ${{ matrix.nickname }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: adopt
java-version: ${{ matrix.java }}
cache: gradle
- name: Build
run: ./gradlew build