ci: build linux

This commit is contained in:
monkeyWie committed 2022-11-02 15:16:24 +00:00
1 parent 423ee5c3d1
commit 48821a519e
4 files changed
+64

No files matched your search

+2
View File
@@ -47,3 +47,5 @@ android/app/libs/libgopeed.aar
android/app/libs/libgopeed-sources.jar
macos/Frameworks/libgopeed.h
macos/Frameworks/libgopeed.dylib
debian/packages
@@ -74,6 +74,10 @@ class LibgopeedBootNative implements LibgopeedBoot {
_libgopeed =
LibgopeedFFi(LibgopeedBind(DynamicLibrary.open('libgopeed.dylib')));
}
if (Platform.isLinux) {
_libgopeed =
LibgopeedFFi(LibgopeedBind(DynamicLibrary.open('libgopeed.so')));
}
}
// FFI run in isolate
+3
View File
@@ -116,6 +116,9 @@ install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}
install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
COMPONENT Runtime)
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/bundle/lib/libgopeed.so" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
COMPONENT Runtime)
foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES})
install(FILES "${bundled_library}"
DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"