Skip to content

Commit

Permalink
testing custom windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
lwluc committed Nov 10, 2023
1 parent a460287 commit 95f1707
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/native-image.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
name: GraalVM Native Image builds

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

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

Expand All @@ -24,11 +18,21 @@ jobs:
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
- name: Build native-image
run: mvn -Pnative native:compile
name: Build native-image
- run: mvn -Pnative native:compile
- run: |
java -Dspring.aot.enabled=true \
-agentlib:native-image-agent=config-output-dir=./src/main/resources/META-INF/native-image \
-Doptimize.base-url="$base_url" \
-Doptimize.report-id="$report_id" \
-Doptimize.client-id="$client_id" \
-Doptimize.client-secret="$client_secret" \
-Dxes-mapping.base-path="target" \
-jar target/optimize-to-xes-*.jar
- 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*
path: target/optimize-to-xes*

0 comments on commit 95f1707

Please sign in to comment.