Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
language: cpp
sudo: required

addons:
apt:
update: true
packages:
- libboost-regex1.55-dev
- libboost-filesystem1.55-dev
- libmagick++-dev
- automake # required for patchelf

install:
- git clone https://github.com/NixOS/patchelf.git
- cd patchelf
- ./bootstrap.sh
- ./configure --prefix=/usr
- make -j$(nproc)
- sudo make install
- cd ..
- rm -rf patchelf

script:
- mkdir build
- cd build
- cmake ..
- make VERBOSE=1
- bin/linuxdeploy --init-appdir --appdir AppDir -e bin/linuxdeploy -i ../resources/linuxdeploy.png --create-desktop-file
- wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
- chmod +x appimagetool-x86_64.AppImage
- ./appimagetool-x86_64.AppImage AppDir
Binary file added resources/linuxdeploy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ execute_process(
add_library(core elf.cpp log.cpp appdir.cpp desktopfile.cpp ${HEADERS})
target_link_libraries(core Boost::filesystem Boost::regex subprocess cpp-feather-ini-parser PkgConfig::magick++ ${CMAKE_THREAD_LIBS_INIT})
target_include_directories(core PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_compile_definitions(core PUBLIC -DBOOST_NO_CXX11_SCOPED_ENUMS)

add_executable(linuxdeploy main.cpp)
target_link_libraries(linuxdeploy core args)
Expand Down