forked from pencil2d/pencil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor-mingw.yml
50 lines (40 loc) · 981 Bytes
/
appveyor-mingw.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
clone_depth: 1
image:
- Visual Studio 2019
platform:
- x86
- x64
skip_commits:
files:
- '*.md'
- docs/*
- util/appveyor-msvc.yml
- /.github/*
init:
- ver
- echo %PLATFORM%
before_build:
- set QTDIR=C:\Qt\%qt%
- set PATH=%QTDIR%\bin;C:\Qt\Tools\%mingw%\bin;%PATH%;
- qmake --version
build_script:
- echo %APPVEYOR_BUILD_FOLDER%
- md build
- cd build
- qmake "%APPVEYOR_BUILD_FOLDER%\pencil2d.pro" CONFIG+=GIT CONFIG+=Release CONFIG+=PENCIL2D_NIGHTLY
- mingw32-make -j2
after_build:
- windeployqt "%APPVEYOR_BUILD_FOLDER%\build\app\release\pencil2d.exe"
test_script:
- echo "Running tests"
- cd "%APPVEYOR_BUILD_FOLDER%\build\tests\release"
- tests.exe
for:
- matrix:
only:
- image: Visual Studio 2019
install:
- if %PLATFORM%==x86 set qt=5.15\mingw81_32
- if %PLATFORM%==x64 set qt=5.15\mingw81_64
- if %PLATFORM%==x86 set mingw=mingw810_32
- if %PLATFORM%==x64 set mingw=mingw810_64