You've already forked linuxdeploy
mirror of
https://github.com/encounter/linuxdeploy.git
synced 2026-03-30 11:18:58 -07:00
Debug CI build issues mk. 1
This commit is contained in:
@@ -59,6 +59,7 @@ if(STATIC_BUILD)
|
||||
|
||||
# target_link_options is only supported by CMake 3.13+
|
||||
set_property(TARGET linuxdeploy PROPERTY LINK_OPTIONS -static -static-libgcc -static-libstdc++)
|
||||
set_property(TARGET linuxdeploy PROPERTY INTERFACE_LINK_OPTIONS -static -static-libgcc -static-libstdc++)
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
+3
-1
@@ -37,7 +37,7 @@ fi
|
||||
|
||||
cmake "$REPO_ROOT" -DSTATIC_BUILD=On -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo "${EXTRA_CMAKE_ARGS[@]}"
|
||||
|
||||
make -j$(nproc)
|
||||
make VERBOSE=1
|
||||
|
||||
## Run Unit Tests
|
||||
ctest -V
|
||||
@@ -63,6 +63,8 @@ fi
|
||||
patchelf_path="$(readlink -f out/usr/bin/patchelf)"
|
||||
export PATH="$(readlink -f out/usr/bin):$PATH"
|
||||
|
||||
ldd bin/linuxdeploy || true
|
||||
|
||||
# args are used more than once
|
||||
LINUXDEPLOY_ARGS=("--appdir" "AppDir" "-e" "bin/linuxdeploy" "-i" "$REPO_ROOT/resources/linuxdeploy.png" "-d" "$REPO_ROOT/resources/linuxdeploy.desktop" "-e" "$patchelf_path" "-e" "$strip_path")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user