Compare commits

..
Author SHA1 Message Date
songyinyin 455638c4cf test github action v26 兼容更多类型的cpu 2023-10-25 18:09:18 +08:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ jobs:
mvn clean install -pl neutrino-proxy-core -am -DskipTests --no-transfer-progress
cd neutrino-proxy-server
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
cp target/neutrino-proxy-server.exe .
cp target/neutrino-proxy-server.exe ./neutrino-proxy-server.exe
- name: Archive zip (neutrino-proxy-server)
uses: thedoctor0/zip-release@master
with:
@@ -62,7 +62,7 @@ jobs:
cd neutrino-proxy-client
mvn clean package --file pom.xml --no-transfer-progress
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
cp target/neutrino-proxy-client.exe .
cp target/neutrino-proxy-client.exe ./neutrino-proxy-client.exe
- name: Archive zip (neutrino-proxy-client)
uses: thedoctor0/zip-release@master
with:
@@ -25,6 +25,6 @@ public class NeutrinoCoreRuntimeNativeRegistrar implements RuntimeNativeRegistra
metadata.registerReflection(ProxyMessage.class, MemberCategory.DECLARED_FIELDS, MemberCategory.INVOKE_DECLARED_METHODS, MemberCategory.INVOKE_DECLARED_CONSTRUCTORS);
metadata.registerReflection(ProxyMessage.UdpBaseInfo.class, MemberCategory.DECLARED_FIELDS, MemberCategory.INVOKE_DECLARED_METHODS, MemberCategory.INVOKE_DECLARED_CONSTRUCTORS);
metadata.registerArg("--add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED");
metadata.registerArg("--add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED -march=compatibility");
}
}