-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
64 lines (49 loc) · 1.18 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: 0.0.0.{build}
skip_tags: true
environment:
ZIP: C:\Program Files\7-Zip
QTDIR: C:\Qt\5.6\mingw53_32\bin
EDITOR_OUTPUT_PATH: c:\leveleditor
QTMINGW: C:\Qt\Tools\mingw530_32\bin
NSIS: C:\Program Files (x86)\NSIS
PYTHON: C:\Python34
build_script:
- cmd: >-
set PATH=%QTDIR%;%MINGW%;%ZIP%
cd src
qmake leveleditor.pro
mingw32-make -j16
md dist
copy release\*.exe .\dist
cd dist
@echo Coping qt dependency libraries...
windeployqt --no-opengl-sw --no-system-d3d-compiler leveleditor.exe
7z a leveleditor.7z *
cd ..
cd ..
test_script:
- cmd: >-
set PATH=%QTDIR%;%MINGW%
cd test/unittest
qmake unittest.pro
mingw32-make -j16
rem release\unittest_leveleditor.exe
artifacts:
- path: src\dist\leveleditor.7z
name: demo
deploy:
- provider: GitHub
auth_token:
secure: D/3LJCvnQzb2LT6rtq7KCPZcyW4fCmh9S0zJw4jsxGLRLSPRMaIdmd2iw/Yri+vT
artifact: /leveleditor.*\.(exe|7z|zip)/
draft: false
on:
appveyor_repo_tag: true
notifications:
- provider: Email
to:
- wazcd_1608@qq.com
subject: Build status of leveleditor
on_build_success: true
on_build_failure: true
on_build_status_changed: false