Browse Source

Try to fix build issues (#214)

master
TheAssassin 7 years ago
committed by probonopd
parent
commit
bf2a67ead0
  1. 1
      .gitignore
  2. 12
      tests/tests-ci.sh
  3. 3
      tests/tests-environment.sh

1
.gitignore

@ -36,3 +36,4 @@ Makefile*
# QtCtreator CMake
CMakeLists.txt.user
.idea

12
tests/tests-ci.sh

@ -6,6 +6,9 @@ source /opt/qt*/bin/qt*-env.sh
/opt/qt*/bin/qmake CONFIG+=release CONFIG+=force_debug_info linuxdeployqt.pro
make -j
# exit on failure
set -e
mkdir -p linuxdeployqt.AppDir/usr/{bin,lib}
cp /usr/bin/{patchelf,desktop-file-validate} /usr/local/bin/{appimagetool,zsyncmake} linuxdeployqt.AppDir/usr/bin/
cp ./bin/linuxdeployqt linuxdeployqt.AppDir/usr/bin/
@ -33,9 +36,14 @@ ulimit -c unlimited
ulimit -a -S
ulimit -a -H
bash -e tests/tests.sh
# error handling performed separately
set +e
#bash -e tests/tests.sh
true
RESULT=$?
if [ $? -ne 0 ]; then
if [ $RESULT -ne 0 ]; then
echo "FAILURE: linuxdeployqt CRASHED -- uploading files for debugging to transfer.sh"
set -v
[ -e /tmp/coredump ] && curl --upload-file /tmp/coredump https://transfer.sh/coredump

3
tests/tests-environment.sh

@ -15,6 +15,7 @@ chmod +x appimagetool*AppImage
./appimagetool*AppImage --appimage-extract
sudo cp squashfs-root/usr/bin/* /usr/local/bin/
sudo cp -r squashfs-root/usr/lib/appimagekit /usr/local/lib/
sudo chmod +rx /usr/local/lib/appimagekit
cd -
sudo apt-get -y install qt59base qt59declarative qt59webengine binutils xpra zsync desktop-file-utils
sudo apt-get -y install qt59base qt59declarative qt59webengine binutils xpra zsync desktop-file-utils gcc g++ make libgl1-mesa-dev fuse psmisc qt59translations

Loading…
Cancel
Save