Skip to content

Commit

Permalink
chore: add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalourdio committed May 5, 2024
1 parent 0d7c440 commit 0fe21c8
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: mpalourdio
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on: [ push, pull_request, workflow_dispatch ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
java-version: [ 21.x ]
graalvm-version: [ 21 ]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}

- name: Run tests
run: ./mvnw clean package

- uses: graalvm/setup-graalvm@v1
with:
distribution: 'graalvm-community'
java-version: ${{ matrix.graalvm-version }}

- name: GraalVM Compile
run: ./mvnw clean -Pnative native:compile

0 comments on commit 0fe21c8

Please sign in to comment.