Skip to content

Commit

Permalink
ci: add CI pipeline to build and test codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
tassiluca committed Jan 2, 2024
1 parent c142225 commit d1b3427
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build-test-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build, Test, and Check codebase

on:
push:
branches-ignore:
- 'dependabot/**'
paths-ignore:
- '.gitignore'
- 'CHANGELOG.md'
- 'LICENSE'
- 'README.md'
- 'renovate.json'
pull_request:
workflow_dispatch:

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos, windows]
jvm_version: [11, 17, 21]
runs-on: ${{ matrix.os }}-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup JDK ${{ matrix.jvm_version }}
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: ${{ matrix.jvm_version }}
- name: Build
run: ./gradlew build
- name: Test
run: ./gradlew test
- name: Check
run: ./gradlew check

0 comments on commit d1b3427

Please sign in to comment.