-
Notifications
You must be signed in to change notification settings - Fork 4
/
.appveyor.yml
77 lines (73 loc) · 3.02 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
71
72
73
74
75
76
77
version: '{build}'
image: Visual Studio 2015
install:
- set BOOST_PATH=C:\Libraries\boost_1_63_0
- set PATH_ORIG=%PATH%
- set PATH=C:\MinGW\bin;C:\MinGW\msys\1.0\bin;%PATH%
build_script:
- set DALECOINPATH=%cd%
- cd C:\Qt
- curl -fsSL -o static_qt_5_10_win.zip https://github.com/dalecoinmarket/dalecoin-prebuilt-libs1/releases/download/1/static_qt_5_10_win.zip
- 7z x static_qt_5_10_win.zip > nul
- set QTDIR=C:\Qt\static_qt_5_10_win
- cd %DALECOINPATH%
- curl -fsSL -o static_boost_1_63_win.zip https://github.com/dalecoinmarket/dalecoin-prebuilt-libs1/releases/download/1/static_boost_1_63_win.zip
- 7z x static_boost_1_63_win.zip > nul
- curl -fsSL -o static_db_4_8_win.zip https://github.com/dalecoinmarket/dalecoin-prebuilt-libs1/releases/download/1/static_db_4_8_win.zip
- 7z x static_db_4_8_win.zip > nul
- move static_db_4_8_win db
- curl -fsSL -o static_openssl_win.zip https://github.com/dalecoinmarket/dalecoin-prebuilt-libs1/releases/download/1/static_openssl_win.zip
- 7z x static_openssl_win.zip > nul
- move static_openssl_win openssl
- curl -fsSL -o static_miniupnpc_win.zip https://github.com/dalecoinmarket/dalecoin-prebuilt-libs1/releases/download/1/static_miniupnpc_win.zip
- 7z x static_miniupnpc_win.zip > nul
- move static_miniupnpc_win miniupnpc
- curl -fsSL -o mingw32.7z https://github.com/dalecoinmarket/dalecoin-prebuilt-libs1/releases/download/base1/i686-5.3.0-release-posix-dwarf-rt_v4-rev0.7z
- 7z x mingw32.7z > nul
- ls
- set PATH=%cd%\MinGW32\bin;C:\MinGW\msys\1.0\bin;%QTDIR%\bin
- perl -i -pe 's/-DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1/-DWINVER=0x0500 -D__USE_MINGW_ANSI_STDIO=1 -Dsnprintf=_snprintf/m' src/leveldb/build_detect_platform
- qmake
CICD=appveyor
BOOST_INCLUDE_PATH=%BOOST_PATH%
BOOST_LIB_PATH=%cd%\static_boost_1_63_win
BDB_INCLUDE_PATH=%cd%\db\include
BDB_LIB_PATH=%cd%\db
OPENSSL_INCLUDE_PATH=%cd%\openssl\include
OPENSSL_LIB_PATH=%cd%\openssl
MINIUPNPC_LIB_PATH=%cd%\miniupnpc
dalecoin-qt.pro
- cd src
- cd leveldb
- set PATH=C:\MinGW\bin;C:\MinGW\msys\1.0\bin;%QTDIR%\bin
- set TARGET_OS=OS_WINDOWS_CROSSCOMPILE
- make out-static/libleveldb.a out-static/libmemenv.a
- cd ..
- cd ..
- set PATH=%cd%\MinGW32\bin;C:\MinGW\msys\1.0\bin;%QTDIR%\bin
- make -j2
- move release\dalecoin-wallet-qt.exe .
- ls
- set PATH=%PATH_ORIG%
- 7z a dalecoin-wallet-qt_win.zip dalecoin-wallet-qt.exe
- set PATH=%cd%\MinGW32\bin;C:\MinGW\msys\1.0\bin;%QTDIR%\bin
- qmake
CICD=appveyor
BOOST_INCLUDE_PATH=%BOOST_PATH%
BOOST_LIB_PATH=%cd%\static_boost_1_63_win
BDB_INCLUDE_PATH=%cd%\db\include
BDB_LIB_PATH=%cd%\db
OPENSSL_INCLUDE_PATH=%cd%\openssl\include
OPENSSL_LIB_PATH=%cd%\openssl
MINIUPNPC_LIB_PATH=%cd%\miniupnpc
dalecoind.pro
- make -j2
- move release\dalecoind.exe .
- set PATH=%PATH_ORIG%
- 7z a dalecoind_win.zip dalecoind.exe
test: off
artifacts:
- path: dalecoin-wallet-qt_win.zip
name: dalecoin-wallet-qt_win.zip
- path: dalecoind_win.zip
name: dalecoind_win.zip