forked from pencil2d/pencil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor-msvc.yml
48 lines (38 loc) · 1000 Bytes
/
appveyor-msvc.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
clone_depth: 1
image:
- Visual Studio 2019
platform:
- x86
- x64
skip_commits:
files:
- '*.md'
- docs/*
- util/appveyor-mingw.yml
init:
- ver
- echo %PLATFORM%
before_build:
- set QTDIR=C:\Qt\%qt%
- set PATH=%PATH%;%QTDIR%\bin
- qmake --version
build_script:
- cd
- md build
- cd build
- qmake "..\pencil2d.pro" CONFIG+=GIT CONFIG+=Release CONFIG+=PENCIL2D_NIGHTLY
- nmake
after_build:
- windeployqt "%APPVEYOR_BUILD_FOLDER%\build\app\release\pencil2d.exe"
test_script:
- echo "Running tests"
- tests\release\tests.exe
for:
- matrix:
only:
- image: Visual Studio 2019
install:
- if %PLATFORM%==x86 call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
- if %PLATFORM%==x64 call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
- if %PLATFORM%==x86 set qt=5.15\msvc2019
- if %PLATFORM%==x64 set qt=5.15\msvc2019_64