diff --git a/.github/workflows/mobiletest.yml b/.github/workflows/mobiletest.yml index a0db747..d31e3ab 100644 --- a/.github/workflows/mobiletest.yml +++ b/.github/workflows/mobiletest.yml @@ -71,7 +71,7 @@ jobs: export GRAALVM_HOME="$HOME/graalvm-svm-java17-darwin-m1-gluon-22.1.0.1-Final/Contents/Home" export JAVA_HOME="$GRAALVM_HOME" export PATH="$JAVA_HOME/bin:$PATH" - scripts/compile-shared + /bin/bash scripts/compile-shared - uses: actions/upload-artifact@v1 with: diff --git a/scripts/compile-shared b/scripts/compile-shared index 5dea30a..5299a56 100755 --- a/scripts/compile-shared +++ b/scripts/compile-shared @@ -4,8 +4,6 @@ set -x set -e -env - DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" cd "$DIR" @@ -23,7 +21,6 @@ rm -rf ./tmp $GRAALVM_HOME/bin/native-image \ --report-unsupported-elements-at-runtime \ --no-fallback \ - --no-server \ -H:+ExitAfterRelocatableImageWrite \ -H:+SharedLibrary \ -H:+AddAllCharsets \ @@ -48,14 +45,11 @@ $GRAALVM_HOME/bin/native-image \ -H:CAPCacheDir="${PROJECT_DIR}"/conf/capcache \ -H:CompilerBackend=lir \ '-Dsvm.platform=org.graalvm.nativeimage.Platform$IOS_AARCH64' \ - -jar ../target/grease-uber.jar - + -jar ../target/grease-uber.jar && echo 'done!' # -J-Xmx20G \ # -J-XX:MaxDirectMemorySize=8G \ - - rm -rf ./build/out mkdir -p build/out