mirror of
https://github.com/audacity/linuxdeploy.git
synced 2025-12-10 21:08:48 -06:00
Travis configuration (#1)
This commit is contained in:
parent
e598536173
commit
17b55f02e8
31
.travis.yml
Normal file
31
.travis.yml
Normal file
@ -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
|
||||
BIN
resources/linuxdeploy.png
Normal file
BIN
resources/linuxdeploy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user