Debug CI build issues mk. 1

This commit is contained in:
TheAssassin
2020-08-06 15:09:36 +02:00
parent 5fde708954
commit cbfbb1ee2d
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -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
View File
@@ -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")