Update appveyor.yaml
* use vcpkg provided cspice * fix build with TTF * don't upload artifacts to bintray (doesn't work and useless as appveyor host them itself)pull/3/head
parent
667577983c
commit
34882294ab
|
@ -25,19 +25,6 @@ artifacts:
|
|||
- path: '**/celestia-*.exe'
|
||||
name: win
|
||||
|
||||
deploy:
|
||||
- provider: BinTray
|
||||
username: 375gnu
|
||||
api_key:
|
||||
secure: WjSIisk+6MMl82p8bvJPavyNhJIoDLnr3+d8Yj+Xo5EUb82aK7XNNhD50vh7/01q
|
||||
subject: celestia
|
||||
repo: celestia-builds
|
||||
package: snapshots
|
||||
# artifact: qt win
|
||||
publish: true
|
||||
on:
|
||||
branch: master
|
||||
|
||||
# Build worker image (VM template)
|
||||
image: "Visual Studio 2015"
|
||||
|
||||
|
@ -60,6 +47,8 @@ init:
|
|||
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %platform%
|
||||
|
||||
install:
|
||||
- cd c:\tools\vcpkg
|
||||
- git pull
|
||||
- vcpkg install libpng:x86-windows
|
||||
- vcpkg install gettext:x86-windows
|
||||
- vcpkg install libjpeg-turbo:x86-windows
|
||||
|
@ -69,7 +58,7 @@ install:
|
|||
- vcpkg install glew:x86-windows
|
||||
- vcpkg install eigen3:x86-windows
|
||||
- vcpkg install freetype:x86-windows
|
||||
- cd c:\tools\vcpkg
|
||||
- vcpkg install cspice:x86-windows
|
||||
- vcpkg integrate install
|
||||
- cd %APPVEYOR_BUILD_FOLDER%
|
||||
|
||||
|
@ -81,7 +70,7 @@ build_script:
|
|||
|
||||
cd build
|
||||
|
||||
cmake -DCMAKE_PREFIX_PATH=%Qt5_DIR% -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DENABLE_SPICE=ON -DENABLE_TOOLS=ON ENABLE_TTF=ON ..
|
||||
cmake -DCMAKE_PREFIX_PATH=%Qt5_DIR% -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DENABLE_SPICE=ON -DENABLE_TOOLS=ON -DENABLE_TTF=ON ..
|
||||
|
||||
cmake --build . --config Release -- /maxcpucount:4 /nologo
|
||||
|
||||
|
|
Loading…
Reference in New Issue