-
Notifications
You must be signed in to change notification settings - Fork 6
/
.appveyor.yml
41 lines (41 loc) · 1.39 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: 1.0.{build}
os: Visual Studio 2017
test: off
clone_folder: C:\projects\fish_deformation
branches:
only:
- master
- michael
install:
- git submodule update --init --recursive
- cinstall: python
build:
parallel: true
build_script:
- echo Running cmake ..
- cd c:\tools\vcpkg
- .\vcpkg.exe --triplet x64-windows install mpir mpfr
- cd c:\projects\fish_deformation
- set PATH=C:\Python%PYTHON%-x64;C:\Python%PYTHON%-x64\Scripts;%PATH%
- mkdir build
- cd build
- cmake -G "Visual Studio 15 2017 Win64"
-DCMAKE_PREFIX_PATH="C:/Qt/5.10.1/msvc2017_64/lib/cmake"
-DMPFR_INCLUDE_DIR:PATH="C:/tools/vcpkg/installed/x64-windows/include"
-DMPFR_LIBRARIES:FILEPATH="C:/tools/vcpkg/installed/x64-windows/lib/mpfr.lib"
-DGMP_INCLUDE_DIR:PATH="C:/tools/vcpkg/installed/x64-windows/include"
-DGMP_LIBRARIES:FILEPATH="C:/tools/vcpkg/installed/x64-windows/lib/mpir.lib"
-DBOOST_ROOT="C:/Libraries/boost_1_65_1" ../
- set MSBuildOptions=/v:m /p:Configuration=Release /p:Platform=x64
- msbuild %MSBuildOptions% fish_deformation.sln
after_build:
- cd ..
- mkdir unwind
- copy build\src\Release\unwind.exe unwind
- copy build\src\Release\mpir.dll unwind
- cd C:\Qt\latest\msvc2017_64\bin
- windeployqt C:\projects\fish_deformation\unwind\unwind.exe
- cd C:\projects\fish_deformation
- 7z a unwind.zip unwind\
artifacts:
- path: unwind.zip