-
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (29 loc) · 851 Bytes
/
back.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: back
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 }}
cache: 'maven'
- name: Run full build
run: ./mvnw clean test -B
- uses: graalvm/setup-graalvm@v1
with:
distribution: 'graalvm-community'
java-version: ${{ matrix.graalvm-version }}
cache: 'maven'
- name: GraalVM Compile
run: ./mvnw clean -Pnative native:compile
continue-on-error: true