Verified Commit 191a929e authored by azubieta's avatar azubieta

use linuxdeploy as conan package

parent cd470753
Pipeline #478 failed with stages
in 13 minutes and 19 seconds
......@@ -7,22 +7,21 @@ build:AppImage:
image: conanio/gcc48
stage: build
script:
- sudo apt-get -y -qq update && sudo apt-get -y -qq install python-pip realpath wget
- pip install conan --upgrade
- pip install conan_package_tools
- conan user
- conan remote add appimage-community https://api.bintray.com/conan/appimage-conan-community/public-conan --insert=0
- conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
- conan remote add azubieta https://api.bintray.com/conan/azubieta/AppImage
- mkdir build && cd build
- conan install .. --build missing -s cppstd=11 -s compiler.libcxx=libstdc++11
- cmake -DUSE_CONAN=ON .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
- make install -j`nproc` DESTDIR=AppDir
- conan install . --build missing -s cppstd=11 -s compiler.libcxx=libstdc++11
- . activate_run.sh
- INSTALL_PREFIX=" " ../.travis/build_appimage.sh
- cmake -DUSE_CONAN=ON . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
- make install -j`nproc` DESTDIR=AppDir
- linuxdeploy --appdir=AppDir --plugin qt --output appimage --desktop-file=AppDir/usr/share/applications/org.appimage.user-tool.desktop
- . deactivate_run.sh
artifacts:
paths:
- build/appimage-cli-tool*.AppImage*
- appimage-cli-tool*.AppImage*
cache:
key: conan_cache
paths:
......
[requires]
libpng/1.6.36@bincrafters/stable
qt/5.12.2@bincrafters/stable
yaml-cpp/0.6.2@bincrafters/stable
kf5-attica/5.57.0@appimage-conan-community/stable
......@@ -7,6 +8,9 @@ xdg-utils-cxx/0.1.1@appimage-conan-community/stable
[build_requires]
cmake_installer/3.10.0@conan/stable
linuxdeploy/continuous@appimage-conan-community/stable
linuxdeploy-plugin-qt/continuous@appimage-conan-community/stable
linuxdeploy-plugin-appimage/continuous@appimage-conan-community/stable
[generators]
cmake
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment