-
-
Notifications
You must be signed in to change notification settings - Fork 65
42 lines (36 loc) · 1.08 KB
/
mvn-native-image.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
37
38
39
40
41
42
name: Native Image
on:
workflow_dispatch:
pull_request:
jobs:
build:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: xembly/workflow-manager@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
run: clean, cancel
verbose: false
- uses: actions/[email protected]
- uses: actions/setup-python@v4
- name: Set up GraalVM 21
uses: graalvm/setup-graalvm@v1
with:
java-version: "21"
distribution: "graalvm-community"
github-token: ${{ secrets.GITHUB_TOKEN }}
components: "js"
native-image-job-reports: "true"
- name: Native image
continue-on-error: ${{ matrix.continue-on-error }}
run: mvn clean package -DskipTests -Pnative
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: arcadedb-${{ matrix.os }}-${{ runner.arch }}
path: ./native/target/arcadedb