Skip to content

Commit

Permalink
added action to publish nativ image
Browse files Browse the repository at this point in the history
  • Loading branch information
lwluc committed Nov 5, 2023
1 parent cde8df2 commit 9396dc8
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java: ['17', '21']
java: ['21']

steps:
- name: Git Checkout
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/native-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: GraalVM Native Image builds

on:
workflow_dispatch:
inputs:
TAG:
description: 'The tag to be built'
required: true
type: string

jobs:
build:
name: Optimize-to-xes on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4

- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
- name: Build native-image
run: mvn -Pnative native:compile

- name: Upload binary
uses: actions/upload-artifact@v3
with:
name: optimize-to-xes-${{ matrix.os }}
path: target/optimize-to-xes
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ For our Java-powered adventures, we especially use this [OpenXES](http://code.de
🛑 Currently, you can only transform one process definition at a time. Therefore, when setting up your raw data report
in Camunda Optimize, make sure it contains only a single process definition.

🚫 You can use the application only with Java 21.

## 🚀🔜 Coming Soon... 🌟🎉👀

![Optimize CCR PPM Cycle](./assets/ppm-cycle.png)
Expand All @@ -48,7 +46,7 @@ in Camunda Optimize, make sure it contains only a single process definition.

## Execute native-image

You can simply download the latest native-image from the [releases here](https://github.com/envite-consulting/optimize-to-xes/releases/latest/download/optimize-to-xes) and
You can simply download the latest native-image from the [releases here](https://github.com/envite-consulting/optimize-to-xes/releases/latest) and
execute it with the following options:

```shell
Expand Down

0 comments on commit 9396dc8

Please sign in to comment.