forked from Bionus/imgbrd-grabber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
70 lines (59 loc) · 1.86 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
65
66
67
68
69
70
version: '{build}'
environment:
APPVEYOR: 1
DEPLOY: 0
matrix:
# MSVC x86
- PLATFORM: amd64_x86
QTDIR: C:\Qt\5.10.1\msvc2015
MAKE: nmake
MAKEFILES: NMake Makefiles
DEPLOY: 1
# MSVC x64
- PLATFORM: amd64
QTDIR: C:\Qt\5.10.1\msvc2015_64
MAKE: nmake
MAKEFILES: NMake Makefiles
# MinGW
- PLATFORM: mingw
QTDIR: C:\Qt\5.10.1\mingw53_32
MAKE: mingw32-make
MAKEFILES: MinGW Makefiles
cache:
- release\sites\node_modules -> release\sites\package.json
init:
- git config --global core.autocrlf input
- if %PLATFORM%==mingw set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
- if %platform%==mingw set PATH=C:\Qt\Tools\mingw492_32\bin;%PATH%
- set PATH=%QTDIR%\bin;%PATH%
- if not %PLATFORM%==mingw call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %PLATFORM%
- set PATH=%PATH%;"C:\\Program Files (x86)\\Inno Setup 5"
build_script:
- mkdir build
- cd build
- cmake .. -G "%MAKEFILES%" -DCMAKE_BUILD_TYPE=Release
- if not %platform%==mingw (nmake) else (mingw32-make)
- cd ..
- iscc /Q /DMyAppVersion="nightly" /DQtDir="%QTDIR%\bin" /DOpenSSLDir="C:\OpenSSL-Win32" /DMySQLDir="C:\Program Files\MySQL\MySQL Server 5.7" releases/setup.iss
test_script:
- build\tests\tests.exe
artifacts:
- path: releases\Grabber_nightly.exe
deploy:
- provider: GitHub
tag: nightly
release: Nightly
draft: false
prerelease: true
force_update: true
artifact: releases\Grabber_nightly.exe
description: |
Nightly automated builds from the develop branch.
Automatically uploaded by AppVeyor, **use at your own risk**!
**Head:** $(APPVEYOR_REPO_COMMIT)
**Date:** $(APPVEYOR_REPO_COMMIT_TIMESTAMP)
auth_token:
secure: mUYQ72KBJUaYr5Bhy2HkBkEY13Q7k27Q7IRmOGXfTOq7YnXUS9PikETcZvzCfiVu
on:
branch: develop
DEPLOY: 1