2017-04-02 12:17:32 +00:00
|
|
|
language: cpp
|
|
|
|
|
2017-09-25 17:51:49 +00:00
|
|
|
cache: ccache
|
2017-09-25 17:34:38 +00:00
|
|
|
|
2017-11-25 11:51:46 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2018-06-21 14:40:49 +00:00
|
|
|
- debug
|
2017-11-25 11:51:46 +00:00
|
|
|
- /^v\d.*$/
|
2019-03-17 11:33:40 +00:00
|
|
|
- /^deploy-test(-.*)?$/
|
2017-11-25 11:51:46 +00:00
|
|
|
|
2017-10-23 10:49:46 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
2020-06-17 09:35:26 +00:00
|
|
|
- name: Linux QMake
|
2019-03-16 22:08:33 +00:00
|
|
|
os: linux
|
2020-04-10 16:53:41 +00:00
|
|
|
dist: xenial
|
2020-06-17 09:35:26 +00:00
|
|
|
env: BUILD_SYSTEM=qmake
|
2019-08-30 11:41:14 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-04-07 20:24:25 +00:00
|
|
|
- mesa-common-dev
|
|
|
|
- libgl1-mesa-glx
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libxkbcommon-x11-dev
|
2020-04-10 16:53:41 +00:00
|
|
|
- ninja-build/xenial-backports
|
2019-07-22 19:18:14 +00:00
|
|
|
|
2019-03-16 22:08:33 +00:00
|
|
|
- name: Linux CMake
|
|
|
|
os: linux
|
2020-06-17 09:35:26 +00:00
|
|
|
env: BUILD_SYSTEM=cmake_nodep
|
2020-07-23 16:15:42 +00:00
|
|
|
before_install:
|
|
|
|
- ls $(pyenv root)/versions
|
|
|
|
- pyenv global 3.7
|
|
|
|
- pip3 install meson
|
2019-08-30 11:41:14 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-04-07 20:24:25 +00:00
|
|
|
- mesa-common-dev
|
2019-08-30 11:41:14 +00:00
|
|
|
- ninja-build
|
|
|
|
- libgraphviz-dev
|
2020-06-17 09:35:26 +00:00
|
|
|
- qt5-default
|
|
|
|
- libqt5svg5-dev
|
|
|
|
- qttools5-dev
|
|
|
|
|
|
|
|
- name: Linux CMake + Deploy
|
|
|
|
os: linux
|
|
|
|
env: BUILD_SYSTEM=cmake DEPLOY=1
|
|
|
|
dist: xenial
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- mesa-common-dev
|
|
|
|
- libgl1-mesa-glx
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libxkbcommon-x11-dev
|
|
|
|
- ninja-build/xenial-backports
|
2019-07-22 19:18:14 +00:00
|
|
|
|
2020-11-25 15:33:30 +00:00
|
|
|
#- name: Linux Ubuntu 16.04 # test that Cutter can be built on an old distro using system libraries
|
|
|
|
# os: linux
|
|
|
|
# env: BUILD_SYSTEM=cmake_nodep PATH="/usr/bin:$PATH"
|
|
|
|
# dist: xenial
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# packages:
|
|
|
|
# - ninja-build
|
|
|
|
# - libgraphviz-dev
|
|
|
|
# - qt5-default
|
|
|
|
# - libqt5svg5-dev
|
|
|
|
# - qttools5-dev
|
|
|
|
# - qttools5-dev-tools
|
|
|
|
# - cmake
|
|
|
|
# before_install:
|
|
|
|
# - pyenv install 3.5.2
|
|
|
|
# - pyenv global 3.5.2
|
|
|
|
# - pip install meson==0.52.1
|
2019-10-06 17:35:44 +00:00
|
|
|
|
|
|
|
|
2019-03-16 22:08:33 +00:00
|
|
|
- name: macOS QMake + Deploy
|
|
|
|
os: osx
|
2020-07-16 18:07:42 +00:00
|
|
|
osx_image: xcode11
|
2018-03-04 09:33:57 +00:00
|
|
|
env: BUILD_SYSTEM=qmake DEPLOY=1
|
2020-06-17 09:35:26 +00:00
|
|
|
before_install: ~
|
2019-07-22 19:18:14 +00:00
|
|
|
|
2019-03-16 22:08:33 +00:00
|
|
|
- name: macOS CMake
|
|
|
|
os: osx
|
2020-07-16 18:07:42 +00:00
|
|
|
osx_image: xcode11
|
2018-03-04 09:33:57 +00:00
|
|
|
env: BUILD_SYSTEM=cmake
|
2020-06-17 09:35:26 +00:00
|
|
|
before_install: ~
|
2020-07-20 12:47:48 +00:00
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
brewfile: scripts/Brewfile
|
|
|
|
update: true # updating brew to get slightly newer meson, 0.54 doesn't work on macOS.
|
2019-07-22 19:18:14 +00:00
|
|
|
|
2020-10-10 18:00:34 +00:00
|
|
|
- name: Documentation + Translations + Deploy
|
2019-03-16 22:08:33 +00:00
|
|
|
os: linux
|
|
|
|
cache: ~
|
2019-08-30 11:41:14 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- doxygen
|
|
|
|
- libgraphviz-dev
|
2020-03-05 08:35:52 +00:00
|
|
|
before_install:
|
|
|
|
- pyenv global 3.7
|
2020-07-23 16:15:42 +00:00
|
|
|
- pip3 install -U sphinx
|
|
|
|
- pip3 install -U breathe
|
|
|
|
- pip3 install -U sphinx-rtd-theme
|
|
|
|
- pip3 install -U recommonmark
|
2019-03-16 22:08:33 +00:00
|
|
|
install: ~
|
|
|
|
before_script: ~
|
|
|
|
after_success: ~
|
|
|
|
script:
|
|
|
|
- cd docs
|
|
|
|
- make html
|
|
|
|
before_deploy:
|
|
|
|
- cd "$TRAVIS_BUILD_DIR"
|
|
|
|
- openssl aes-256-cbc -K $encrypted_bd0ed4c1fd75_key -iv $encrypted_bd0ed4c1fd75_iv -in scripts/deploy_docs_rsa.enc -out scripts/deploy_docs_rsa -d
|
2020-10-10 18:00:34 +00:00
|
|
|
- openssl aes-256-cbc -K $encrypted_df6d16737705c_key -iv $encrypted_df6d16737705c_iv -in scripts/deploy_translations_rsa.enc -out scripts/deploy_translations_rsa -d
|
2019-03-16 22:08:33 +00:00
|
|
|
- chmod 600 scripts/deploy_docs_rsa
|
2020-10-10 18:00:34 +00:00
|
|
|
- chmod 600 scripts/deploy_translations_rsa
|
2019-03-16 22:08:33 +00:00
|
|
|
- export GIT_SSH_COMMAND="/usr/bin/ssh -i $TRAVIS_BUILD_DIR/scripts/deploy_docs_rsa"
|
|
|
|
- git config --global user.name "Travis CI"
|
2019-10-08 14:30:01 +00:00
|
|
|
- git config --global user.email "travis@travis-ci.com"
|
2019-03-16 22:08:33 +00:00
|
|
|
deploy:
|
|
|
|
skip_cleanup: true
|
|
|
|
provider: script
|
2020-10-10 18:00:34 +00:00
|
|
|
script: bash -c "./scripts/deploy_docs.sh; ./scripts/deploy_translations.sh"
|
2019-03-16 22:08:33 +00:00
|
|
|
on:
|
|
|
|
repo: radareorg/cutter
|
2020-10-10 18:00:34 +00:00
|
|
|
branch: translate
|
2019-03-16 22:08:33 +00:00
|
|
|
|
2017-10-11 12:18:34 +00:00
|
|
|
|
2017-10-02 16:41:40 +00:00
|
|
|
sudo: required
|
2019-07-22 19:18:14 +00:00
|
|
|
dist: bionic
|
2017-10-02 16:41:40 +00:00
|
|
|
|
2018-12-18 09:04:23 +00:00
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
brewfile: scripts/Brewfile
|
2020-07-16 18:07:42 +00:00
|
|
|
# update: true
|
2017-10-02 16:41:40 +00:00
|
|
|
|
2020-06-17 09:35:26 +00:00
|
|
|
before_install:
|
2020-07-23 16:15:42 +00:00
|
|
|
- ls $(pyenv root)/versions
|
|
|
|
- pyenv global 3.7.1
|
|
|
|
- pip3 install meson
|
2020-06-17 09:35:26 +00:00
|
|
|
|
2017-10-02 16:41:40 +00:00
|
|
|
install:
|
2019-10-06 17:35:44 +00:00
|
|
|
- if [[ "$BUILD_SYSTEM" != "cmake_nodep" ]]; then
|
|
|
|
scripts/fetch_deps.sh;
|
|
|
|
source cutter-deps/env.sh;
|
|
|
|
fi
|
2019-04-09 07:44:44 +00:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
|
|
export PATH=/usr/local/opt/llvm/bin:$PATH;
|
|
|
|
source scripts/prepare_breakpad_macos.sh;
|
|
|
|
fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
|
|
|
export LD_LIBRARY_PATH="`llvm-config --libdir`:$LD_LIBRARY_PATH";
|
|
|
|
source scripts/prepare_breakpad_linux.sh;
|
|
|
|
fi
|
2017-10-02 16:41:40 +00:00
|
|
|
|
|
|
|
before_script:
|
2017-04-02 12:17:32 +00:00
|
|
|
- cd radare2
|
2020-06-17 09:35:26 +00:00
|
|
|
- if [[ "$BUILD_SYSTEM" == "qmake" ]] || ([[ "$BUILD_SYSTEM" == "cmake" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]) ; then
|
2019-07-22 19:18:14 +00:00
|
|
|
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
2020-03-24 20:22:25 +00:00
|
|
|
INSTALL_TARGET=install sys/install.sh /usr;
|
2019-07-22 19:18:14 +00:00
|
|
|
else
|
|
|
|
LDFLAGS=-headerpad_max_install_names INSTALL_TARGET=install sys/install.sh;
|
|
|
|
fi
|
2017-09-25 17:51:49 +00:00
|
|
|
fi
|
2017-04-02 12:17:32 +00:00
|
|
|
- cd ..
|
2017-10-02 16:41:40 +00:00
|
|
|
|
|
|
|
script:
|
2017-09-25 17:51:49 +00:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2019-04-09 07:44:44 +00:00
|
|
|
- export PKG_CONFIG_PATH="$CUSTOM_BREAKPAD_PREFIX/lib/pkgconfig:$CUSTOM_PYTHON_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"
|
2018-03-04 09:33:57 +00:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
|
|
|
if [[ "$BUILD_SYSTEM" == "qmake" ]]; then
|
2019-03-08 23:01:24 +00:00
|
|
|
qmake
|
|
|
|
CUTTER_ENABLE_PYTHON=true
|
|
|
|
CUTTER_ENABLE_PYTHON_BINDINGS=true
|
2019-04-09 07:44:44 +00:00
|
|
|
CUTTER_ENABLE_CRASH_REPORTS=true
|
2019-03-08 23:01:24 +00:00
|
|
|
PREFIX=/usr
|
|
|
|
../src &&
|
|
|
|
make -j4;
|
2019-02-18 12:51:14 +00:00
|
|
|
elif [[ "$BUILD_SYSTEM" == "cmake" ]]; then
|
2019-02-28 13:56:54 +00:00
|
|
|
cmake
|
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
2020-06-17 09:35:26 +00:00
|
|
|
-DCMAKE_PREFIX_PATH="$Qt5_ROOT"
|
2019-02-28 13:56:54 +00:00
|
|
|
-DPYTHON_LIBRARY="$CUTTER_DEPS_PYTHON_PREFIX/lib/libpython3.6m.so.1.0"
|
|
|
|
-DPYTHON_INCLUDE_DIR="$CUTTER_DEPS_PYTHON_PREFIX/include/python3.6m"
|
|
|
|
-DPYTHON_EXECUTABLE="$CUTTER_DEPS_PYTHON_PREFIX/bin/python3"
|
|
|
|
-DCUTTER_ENABLE_PYTHON=ON
|
|
|
|
-DCUTTER_ENABLE_PYTHON_BINDINGS=ON
|
2019-04-09 07:44:44 +00:00
|
|
|
-DCUTTER_ENABLE_CRASH_REPORTS=ON
|
2020-06-17 09:35:26 +00:00
|
|
|
-DCUTTER_USE_BUNDLED_RADARE2=OFF
|
|
|
|
-DCUTTER_APPIMAGE_BUILD=ON
|
|
|
|
-DCMAKE_INSTALL_PREFIX=appdir/usr
|
2019-02-28 13:56:54 +00:00
|
|
|
../src &&
|
2019-03-08 23:01:24 +00:00
|
|
|
make -j4;
|
2019-10-06 17:35:44 +00:00
|
|
|
elif [[ "$BUILD_SYSTEM" == "cmake_nodep" ]]; then
|
|
|
|
cmake
|
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
-DCUTTER_USE_BUNDLED_RADARE2=ON
|
|
|
|
../src &&
|
|
|
|
make -j4;
|
2018-03-04 09:33:57 +00:00
|
|
|
fi
|
|
|
|
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
|
|
if [[ "$BUILD_SYSTEM" == "qmake" ]]; then
|
2019-03-08 23:01:24 +00:00
|
|
|
qmake
|
|
|
|
CUTTER_ENABLE_PYTHON=true
|
|
|
|
CUTTER_ENABLE_PYTHON_BINDINGS=true
|
2019-11-04 16:41:38 +00:00
|
|
|
SHIBOKEN_EXTRA_OPTIONS=-isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include
|
2019-03-08 23:01:24 +00:00
|
|
|
CUTTER_BUNDLE_R2_APPBUNDLE=true
|
2019-04-09 07:44:44 +00:00
|
|
|
CUTTER_ENABLE_CRASH_REPORTS=true
|
2019-03-08 23:01:24 +00:00
|
|
|
PYTHON_FRAMEWORK_DIR=$CUTTER_DEPS_PYTHON_FRAMEWORK_DIR
|
2019-04-09 07:44:44 +00:00
|
|
|
BREAKPAD_FRAMEWORK_DIR=$BREAKPAD_FRAMEWORK_DIR
|
2019-03-08 23:01:24 +00:00
|
|
|
../src &&
|
2018-03-05 20:39:36 +00:00
|
|
|
make -j4;
|
2019-02-18 12:51:14 +00:00
|
|
|
elif [[ "$BUILD_SYSTEM" == "cmake" ]]; then
|
2019-03-08 23:01:24 +00:00
|
|
|
cmake
|
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
-DPYTHON_LIBRARY="$CUTTER_DEPS_PYTHON_PREFIX/lib/libpython3.6m.dylib"
|
|
|
|
-DPYTHON_INCLUDE_DIR="$CUTTER_DEPS_PYTHON_PREFIX/include/python3.6m"
|
|
|
|
-DPYTHON_EXECUTABLE="$CUTTER_DEPS_PYTHON_PREFIX/bin/python3"
|
|
|
|
-DCUTTER_ENABLE_PYTHON=ON
|
|
|
|
-DCUTTER_ENABLE_PYTHON_BINDINGS=ON
|
2019-11-04 16:41:38 +00:00
|
|
|
-DSHIBOKEN_EXTRA_OPTIONS=-isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include
|
2019-04-09 07:44:44 +00:00
|
|
|
-DCUTTER_ENABLE_CRASH_REPORTS=ON
|
2019-07-22 19:18:14 +00:00
|
|
|
-DCUTTER_USE_BUNDLED_RADARE2=ON
|
2019-04-09 07:44:44 +00:00
|
|
|
-DBREAKPAD_FRAMEWORK_DIR="$BREAKPAD_FRAMEWORK_DIR"
|
2019-03-08 23:01:24 +00:00
|
|
|
../src &&
|
|
|
|
make -j4;
|
2018-03-04 09:33:57 +00:00
|
|
|
fi
|
|
|
|
fi
|
2017-09-26 10:09:00 +00:00
|
|
|
|
2018-04-14 09:39:44 +00:00
|
|
|
after_success:
|
2020-10-10 18:00:34 +00:00
|
|
|
# Do the release
|
2018-10-02 11:21:39 +00:00
|
|
|
- export CUTTER_VERSION=$(python ../scripts/get_version.py)
|
2018-10-02 10:54:23 +00:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
2020-06-17 09:35:26 +00:00
|
|
|
lrelease ../src/Cutter.pro &&
|
2019-01-20 17:00:23 +00:00
|
|
|
mkdir -p Cutter.app/Contents/Resources/translations &&
|
|
|
|
cp ../src/translations/*.qm Cutter.app/Contents/Resources/translations/ &&
|
2018-12-12 08:31:42 +00:00
|
|
|
macdeployqt Cutter.app -executable=Cutter.app/Contents/MacOS/Cutter -libpath="../Frameworks" &&
|
2018-11-23 16:36:43 +00:00
|
|
|
macdeployqt Cutter.app -executable=Cutter.app/Contents/MacOS/Cutter -libpath="../Frameworks" &&
|
2019-03-08 23:01:24 +00:00
|
|
|
cp -a "$QTDIR/lib/QtDBus.framework" "$QTDIR/lib/QtPrintSupport.framework" Cutter.app/Contents/Frameworks &&
|
2019-04-09 07:44:44 +00:00
|
|
|
cp -a "$BREAKPAD_FRAMEWORK_DIR/Breakpad.framework" Cutter.app/Contents/Frameworks &&
|
2019-03-08 23:01:24 +00:00
|
|
|
"$TRAVIS_BUILD_DIR/scripts/appbundle_embed_python.sh" "$CUTTER_DEPS_PYTHON_FRAMEWORK_DIR/Python.framework" Cutter.app Cutter.app/Contents/MacOS/Cutter &&
|
2019-04-07 18:03:19 +00:00
|
|
|
mv Cutter.app/Contents/MacOS/Cutter Cutter.app/Contents/MacOS/Cutter.bin &&
|
|
|
|
cp ../src/macos/Cutter.sh Cutter.app/Contents/MacOS/Cutter &&
|
|
|
|
chmod +x Cutter.app/Contents/MacOS/Cutter &&
|
2018-04-15 12:41:10 +00:00
|
|
|
mkdir -p Cutter.app/Contents/Resources/r2/share &&
|
|
|
|
cp -a /usr/local/share/radare2 Cutter.app/Contents/Resources/r2/share/ &&
|
2019-08-30 11:41:14 +00:00
|
|
|
"$TRAVIS_BUILD_DIR/scripts/r2ghidra.sh" -DCMAKE_INSTALL_PREFIX="`pwd`/Cutter.app/Contents/Resources/r2" -DBUILD_CUTTER_PLUGIN=ON -DCUTTER_INSTALL_PLUGDIR="`pwd`/Cutter.app/Contents/Resources/plugins/native" -DCUTTER_SOURCE_DIR="$TRAVIS_BUILD_DIR" &&
|
2020-01-24 20:15:34 +00:00
|
|
|
"$TRAVIS_BUILD_DIR/scripts/r2dec.sh" --prefix="`pwd`/Cutter.app/Contents/Resources/r2" &&
|
2018-04-14 09:39:44 +00:00
|
|
|
mkdir image && cp -a Cutter.app image/ &&
|
2018-12-04 05:38:16 +00:00
|
|
|
export VOL_NAME="Cutter v${CUTTER_VERSION}" &&
|
|
|
|
export DMG_TMP_FILE="Cutter-v$CUTTER_VERSION-x64.macOS-tmp.dmg" &&
|
2018-12-28 10:23:06 +00:00
|
|
|
export DMG_FILE="Cutter-v$CUTTER_VERSION-x64.macOS.dmg" &&
|
2018-12-04 05:38:16 +00:00
|
|
|
export SIZE=`du -sh "image" | sed 's/\([0-9\.]*\)M\(.*\)/\1/'` &&
|
|
|
|
export SIZE=`echo "${SIZE} + 10.0" | bc | awk '{print int($1+0.5)}'` &&
|
|
|
|
hdiutil create -srcfolder image -volname "${VOL_NAME}" -fs HFS+ -fsargs "-c c=64,a=16,e=16" -format UDRW -size ${SIZE}M "$DMG_TMP_FILE" &&
|
|
|
|
export DEVICE=$(hdiutil attach -readwrite -noverify "${DMG_TMP_FILE}" | egrep '^/dev/' | sed 1q | awk '{print $1}') &&
|
|
|
|
sleep 2 &&
|
|
|
|
../scripts/prepare_package_ui_macos.sh "Cutter" "${PWD}/../src/macos/cutter_mac_app.png" "${VOL_NAME}" &&
|
|
|
|
hdiutil detach "${DEVICE}" &&
|
|
|
|
hdiutil convert "${DMG_TMP_FILE}" -format UDZO -imagekey zlib-level=9 -o "${DMG_FILE}" &&
|
2018-10-02 11:21:39 +00:00
|
|
|
export FILE_TO_UPLOAD="$DMG_FILE"
|
2018-04-14 09:39:44 +00:00
|
|
|
; fi
|
2020-06-17 09:35:26 +00:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ $DEPLOY == 1 ]]; then
|
|
|
|
export VERSION=$CUTTER_VERSION &&
|
|
|
|
make install &&
|
2018-04-14 09:39:44 +00:00
|
|
|
cp -r /usr/share/radare2 appdir/usr/share/ &&
|
2019-02-28 13:56:54 +00:00
|
|
|
"$TRAVIS_BUILD_DIR/scripts/appimage_embed_python.sh" appdir &&
|
2019-08-30 11:41:14 +00:00
|
|
|
"$TRAVIS_BUILD_DIR/scripts/r2ghidra.sh" -DCMAKE_INSTALL_PREFIX="`pwd`/appdir/usr" -DBUILD_CUTTER_PLUGIN=ON -DCUTTER_SOURCE_DIR="$TRAVIS_BUILD_DIR" &&
|
2020-01-24 11:18:18 +00:00
|
|
|
"$TRAVIS_BUILD_DIR/scripts/r2dec.sh" --prefix=`pwd`/appdir/usr &&
|
2019-03-08 23:01:24 +00:00
|
|
|
wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/6/linuxdeployqt-6-x86_64.AppImage" &&
|
2018-04-14 09:39:44 +00:00
|
|
|
chmod a+x linuxdeployqt*.AppImage &&
|
2019-09-04 19:43:17 +00:00
|
|
|
rm -fv "$TRAVIS_BUILD_DIR/cutter-deps/qt/plugins/imageformats/libqjp2.so" &&
|
2020-06-17 09:35:26 +00:00
|
|
|
./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -executable=./appdir/usr/bin/python3 -bundle-non-qt-libs -no-strip -exclude-libs=libnss3.so,libnssutil3.so,libqjp2.so -ignore-glob=usr/lib/python3.6/**/* -verbose=2 &&
|
|
|
|
./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -executable=./appdir/usr/bin/python3 -appimage -no-strip -exclude-libs=libnss3.so,libnssutil3.so,libqjp2.so -ignore-glob=usr/lib/python3.6/**/* -verbose=2 &&
|
2018-04-14 09:39:44 +00:00
|
|
|
find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq &&
|
2018-12-28 10:23:06 +00:00
|
|
|
export APPIMAGE_FILE="Cutter-v$CUTTER_VERSION-x64.Linux.AppImage" &&
|
2019-01-19 10:30:57 +00:00
|
|
|
mv Cutter-*-x86_64.AppImage "$APPIMAGE_FILE" &&
|
2018-10-02 11:21:39 +00:00
|
|
|
export FILE_TO_UPLOAD="$APPIMAGE_FILE"
|
2018-04-14 09:39:44 +00:00
|
|
|
; fi
|
|
|
|
|
2017-09-26 10:09:00 +00:00
|
|
|
deploy:
|
|
|
|
skip_cleanup: true
|
|
|
|
provider: releases
|
2019-03-19 20:35:59 +00:00
|
|
|
draft: true
|
2018-11-30 10:27:06 +00:00
|
|
|
prerelease: true
|
2018-12-28 10:23:06 +00:00
|
|
|
tag_name: $TRAVIS_TAG
|
2017-09-26 10:09:00 +00:00
|
|
|
api_key:
|
|
|
|
secure: ZXuSX8JXyL0HlJvSIda3ftMkvYsrxoWDcWm2LxO+f0uNFghCHNnISuH/btdipn2mjCBaBQl6/1IK5cg/AZ5OSkiaVsJJqY8kkPsZvR8K+k4oarsr2ApetlLZiZWtydC3J+UyNhsgCt4iuYPsvusANFPZBpVmqT+A5CHS7aPIqP00awbkJYG1uOENe2XVZ0vyotBqU0E7A9f8UO5ps0+qysS8W+NDB+CGLgKLeBfCk3U+IYKGYXcv66xCmSSZ5f7IVIXEjG4voFHGp9XLRY2R/iJgiKQKDbu519vUB3iKPzmLTB/Q9bNz4VMZCREa4SHaLDen730fMHbfm6ZhGZDzXg1DgZoh6RHptWf0WjcHTr1ch8ajpnBMxh/qmoRpaS00FJQMraMT3Il38ekYd+hOhsP58Bj1Db2vjBKopGEHGmVyFQZKuynrdKmpmY+kRNUT3QerIsiAHwHV2QXnMARHYXJrM0T7LNACa2mhiwQD2vNIqLRieIbHbSWgDUrTVTDeII23AAHCzD0YxcCAjSExjun/rc9dJjevgCoBpTM/NHPLCW4big1myx+vRQGPNdlf+dI7igm6bPVWB7znp5uXlI8q5irvqTVtRSvKbcaeDWOz/ki7QgOzaxmGFtaw30hxeY0wFlnSMXc8m42udWLkp/l0b4L0hcoaMTc1TvVU0i4=
|
|
|
|
file:
|
2017-09-26 10:25:49 +00:00
|
|
|
- "${FILE_TO_UPLOAD}"
|
2017-09-26 10:09:00 +00:00
|
|
|
on:
|
2018-12-28 10:23:06 +00:00
|
|
|
tags: true
|
2018-03-07 15:03:12 +00:00
|
|
|
condition: $DEPLOY = 1
|
2017-10-13 16:11:32 +00:00
|
|
|
|