fix(worker): updated worker
This commit is contained in:
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -37,6 +37,14 @@ jobs:
|
|||||||
- name: Build native binary
|
- name: Build native binary
|
||||||
run: gradle nativeCompile
|
run: gradle nativeCompile
|
||||||
|
|
||||||
|
- name: Install UPX (Linux)
|
||||||
|
if: matrix.os == 'ubuntu-latest'
|
||||||
|
run: sudo apt-get update && sudo apt-get install -y upx
|
||||||
|
|
||||||
|
- name: Compress binary with UPX (Linux only)
|
||||||
|
if: matrix.os == 'ubuntu-latest'
|
||||||
|
run: upx --best --lzma build/native/nativeCompile/notevc
|
||||||
|
|
||||||
- name: Rename binary for platform
|
- name: Rename binary for platform
|
||||||
run: |
|
run: |
|
||||||
mv build/native/nativeCompile/notevc notevc-${{ matrix.platform }}
|
mv build/native/nativeCompile/notevc notevc-${{ matrix.platform }}
|
||||||
|
|||||||
@@ -52,14 +52,14 @@ graalvmNative {
|
|||||||
"--no-fallback",
|
"--no-fallback",
|
||||||
"-H:+ReportExceptionStackTraces",
|
"-H:+ReportExceptionStackTraces",
|
||||||
"-H:+UnlockExperimentalVMOptions",
|
"-H:+UnlockExperimentalVMOptions",
|
||||||
|
|
||||||
"--initialize-at-build-time=kotlin",
|
"--initialize-at-build-time=kotlin",
|
||||||
"--initialize-at-build-time=kotlinx",
|
"--initialize-at-build-time=kotlinx",
|
||||||
"--initialize-at-build-time=io.notevc",
|
"--initialize-at-build-time=io.notevc",
|
||||||
|
|
||||||
"--enable-monitoring=heapdump,jfr",
|
|
||||||
"-H:IncludeResources=.*\\.json",
|
"-H:IncludeResources=.*\\.json",
|
||||||
"-H:IncludeResources=.*\\.properties"
|
"-H:IncludeResources=.*\\.properties",
|
||||||
|
"-Ob", // Optimize for size
|
||||||
|
"--gc=serial", // Use smaller GC (if you don't need G1)
|
||||||
|
"--strict-image-heap"
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user