Skip to content

Commit 7678eb8

Browse files
committed
fixup! fix(#4): exceptions in native executable
1 parent f69486b commit 7678eb8

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/build.yaml

+9-7
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ jobs:
7676
name: build-jar
7777
path: ./
7878

79+
- name: Prepare jar
80+
run: mv aidbox-sdk.jar source.jar
81+
7982
- name: Setup GraalVM
8083
uses: graalvm/setup-graalvm@v1
8184
with:
@@ -85,13 +88,12 @@ jobs:
8588
native-image-job-reports: "true"
8689

8790
- name: Compile to native binary
88-
run: |
89-
mv aidbox-sdk.jar source.jar
90-
native-image -jar ./source.jar \
91-
-march=native \
92-
--no-fallback \
93-
--features=clj_easy.graal_build_time.InitClojureClasses \
94-
-H:ReflectionConfigurationFiles=./reflect-config.json \
91+
run: >
92+
native-image -jar ./source.jar
93+
-march=native
94+
--no-fallback
95+
--features=clj_easy.graal_build_time.InitClojureClasses
96+
-H:ReflectionConfigurationFiles=./reflect-config.json
9597
aidbox-sdk-${{ matrix.os }}
9698
9799
- name: Upload amd64 binary artifact

0 commit comments

Comments
 (0)