-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
40 lines (35 loc) · 981 Bytes
/
.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
version: 1.0.{build}
install:
- set QTDIR=C:\Qt\5.9.1\mingw53_32
- set PATH=%PATH%;%QTDIR%\bin;C:\MinGW\bin
- set PATH=%PATH%;C:\msys64\mingw32\bin
- git submodule update --init --recursive
- git clone https://github.com/miniupnp/miniupnp
- move miniupnp\miniupnpc miniupnpc
- rd /s /q miniupnp
- cd miniupnpc
- mingw32-make -f Makefile.mingw
- cd ..
- copy miniupnpc\libminiupnpc.a libminiupnpc.a
- mkdir temp
- mkdir win32
- mkdir win32\i386
- mkdir win32\x64
- cd temp
- curl -L http://www.7-zip.org/a/7z1604-extra.7z --output 7z1604-extra.7z
- 7z x 7z1604-extra.7z
- mv .\7za.exe ..\win32\i386\7za.exe
- mv .\x64\7za.exe ..\win32\x64\7za.exe
- cd ..
- rd /s /q temp
build_script:
- qmake RVGL_Companion.pro CONFIG+=Release -spec win32-g++ QMAKE_TARGET.arch=x86_64
- mingw32-make
after_build:
- windeployqt --qmldir .\ .\release\RVGL_Companion.exe
- rm release/*.o
- rm release/*.cpp
test: off
artifacts:
- path: release
name: RVGL-Companion