Skip to content

Commit

Permalink
fixup! fix(#4): exceptions in native executable
Browse files Browse the repository at this point in the history
  • Loading branch information
worm2fed committed Jul 17, 2024
1 parent f69486b commit 7678eb8
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ jobs:
name: build-jar
path: ./

- name: Prepare jar
run: mv aidbox-sdk.jar source.jar

- name: Setup GraalVM
uses: graalvm/setup-graalvm@v1
with:
Expand All @@ -85,13 +88,12 @@ jobs:
native-image-job-reports: "true"

- name: Compile to native binary
run: |
mv aidbox-sdk.jar source.jar
native-image -jar ./source.jar \
-march=native \
--no-fallback \
--features=clj_easy.graal_build_time.InitClojureClasses \
-H:ReflectionConfigurationFiles=./reflect-config.json \
run: >
native-image -jar ./source.jar
-march=native
--no-fallback
--features=clj_easy.graal_build_time.InitClojureClasses
-H:ReflectionConfigurationFiles=./reflect-config.json
aidbox-sdk-${{ matrix.os }}
- name: Upload amd64 binary artifact
Expand Down

0 comments on commit 7678eb8

Please sign in to comment.