-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.appveyor.yml
44 lines (44 loc) · 1.31 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
42
43
44
image: Visual Studio 2019
platform: x64
skip_tags: true
init:
- ps: '$env:DD_TAG=''DD-''+(get-date -format "yyyyMMddHH")'
build:
parallel: true
verbosity: minimal
install:
- 'set QTDIR=C:\Qt\5.15.2\msvc2019_64'
- set PATH=%QTDIR%\bin;%PATH%
- cmd: >-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
build_script:
- git submodule update --init --recursive
- cd oneTBB && git checkout v2021.5.0 && cd ..
- mkdir tbb-build && cd tbb-build
- cmake -DCMAKE_BUILD_TYPE=Release -DTBB_TEST=OFF -DCMAKE_INSTALL_PREFIX=../tbb ../oneTBB
- cmake --build . --target INSTALL --config Release --parallel 4
- cd ..
- qmake -config release damping-dolphin.pro
- nmake
after_build:
- mkdir deploy
- cd deploy
- copy ..\release\damping-dolphin.exe damping-dolphin.exe
- copy ..\lib\win-gcc\lib*.dll .
- copy ..\tbb\bin\tbb*.dll .
- windeployqt damping-dolphin.exe
- 7z a damping-dolphin-win.zip *
artifacts:
- path: deploy/damping-dolphin-win.zip
name: damping-dolphin-win
for:
- branches:
only:
- master
deploy:
- provider: GitHub
tag: $(DD_TAG)
auth_token:
secure: G2VFcKQ6FM7lNKSVyevBHBwwHfvZAxSttITlXyOVYyxeEJycSI3BG+Tr6ZSpHwqX
artifact: damping-dolphin-win
force_update: true