mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-04 05:50:48 +08:00
Build statically and build in a subdirectory.
This commit is contained in:
parent
8b36624329
commit
9d7d83990e
@ -3,8 +3,9 @@ before_install:
|
||||
- sh package/linux/travis-decrypt-key
|
||||
script:
|
||||
- bash package/linux/travis-setup.sh
|
||||
- cmake -DBOOST_ROOT=$BOOST_DIR src/
|
||||
- make
|
||||
- mkdir build && cd build
|
||||
- cmake -DBOOST_ROOT=$BOOST_DIR -DSLIC3R_STATIC=1 ../src
|
||||
- cmake --build .
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
@ -44,8 +45,8 @@ matrix:
|
||||
- CC=gcc-7
|
||||
- CXX=g++-7
|
||||
- BOOST_DIR=$HOME/boost_1_63_0
|
||||
- SLIC3R_STATIC=1
|
||||
after_success:
|
||||
- cp slic3r ../
|
||||
- LD_LIBRARY_PATH=$WXDIR/lib package/linux/make_archive.sh linux-x64
|
||||
- package/linux/appimage.sh x86_64
|
||||
- package/deploy/sftp.sh linux ~/slic3r-upload.rsa *.bz2 Slic3r*.AppImage
|
||||
@ -55,7 +56,6 @@ matrix:
|
||||
env:
|
||||
- WXVERSION=pkg
|
||||
- BOOST_DIR=$HOME/boost_1_63_0
|
||||
- SLIC3R_STATIC=1
|
||||
env:
|
||||
global:
|
||||
- secure: eEVRZNMv7FM6jrOU9iAFkDhWxFQ1WtHBEaObImcvtFUxy6vWSt3ehFFeTRouj3uHQAnbvUzziDyvPPm8/95alv5g/du8ML6YzzqKBKfazM0xQ7SF6R2DQL8lfFIp+RSV7T02byEP1f1g7Zva7xH9szIlDcSfU0pXW4KWbkBFMd8=
|
||||
|
Loading…
x
Reference in New Issue
Block a user