Skip to content

Commit

Permalink
github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
azahnen committed Oct 9, 2024
1 parent bd4de30 commit 2442e98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/xtracfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
ls -lR ./dist
- name: build java
run: |
./gradlew nativeCompile
./gradlew nativeCompile ${{ matrix.os.type == 'linux' && '-PSTATIC=true' || '' }}
- name: log2
run: |
ls -lR ./build/native/nativeCompile
6 changes: 4 additions & 2 deletions xtracfg/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ graalvmNative {
//buildArgs('-H:-UseServiceLoaderFeature')
//resources.autodetect()

// makes sense???
buildArgs('-H:+StaticExecutableWithDynamicLibC')
if (project.hasProperty('STATIC')) {
// makes sense???
buildArgs('-H:+StaticExecutableWithDynamicLibC')
}

// for jackson???
//buildArgs('-H:+PrintClassInitialization')
Expand Down

0 comments on commit 2442e98

Please sign in to comment.