This repository has been archived by the owner on Mar 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
/
.appveyor.yml
54 lines (54 loc) · 1.57 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
os: unstable
#atrix:
# - build: msvc2015
# QTDIR:
# make: nmake release
install:
# - set QTDIR=C:\Qt\5.5\mingw492_32
- set QTDIR=C:\Qt\5.7\mingw53_32
# - set PATH=%PATH%;%QTDIR%\bin
- set PATH=%PATH%;C:\Qt\5.7\mingw53_32\bin;C:\Qt\Tools\mingw530_32\bin
build_script:
- git submodule update --init --recursive
# - '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86'
- 'echo Downloading Slibcurl ...'
- appveyor DownloadFile https://curl.haxx.se/download/curl-7.49.1.zip -FileName curl.zip
- 7z x curl.zip
- cd curl-7.49.1
- dir
# - md build
# - cd build
# - cmake .. -G"MinGW Makefiles"
- mingw32-make mingw32
- xcopy include C:\Qt\5.7\mingw53_32\include /e #C:\Qt\Qt5.7.0\5.7\mingw53_32\include
- xcopy lib\libcurl.dll C:\Qt\5.7\mingw53_32\lib /e #C:\Qt\Qt5.7.0\5.7\mingw53_32\lib
- xcopy lib\libcurl.dll ..\ /e
- cd ../
- md build-mingw
- cd build-mingw
- qmake ..\Israfil.pro
- mingw32-make
- echo 'moving files to artifacts'
# - move lib\* bin\
# - cd bin
# - md plugins
# - cd ..
# - move plugins\* bin\plugins\
# - move tests bin
# - rd lib
# - rd plugins
# - rd /s /q src
# - rd /s /q tests
# - del /q Makefile
- ren bin Israfil
- cd Israfil
- xcopy ..\..\libcurl.dll .
- windeployqt IsrafilApp.exe --qmldir C:\Qt\5.7\mingw53_32\qml
# - windeployqt test-json.exe --qmldir C:\Qt\5.5\mingw492_32\qml
# - windeployqt test-qqmusic.exe --qmldir C:\Qt\5.5\mingw492_32\qml
# - windeployqt test-network.exe --qmldir C:\Qt\5.5\mingw492_32\qml
# - cd release
# - windeployqt --release HelloWorld.exe
artifacts:
- path: build-mingw
name: Israfil