Skip to content

Commit 28a8792

Browse files
committed
Add AppVeyor configuration for static build
1 parent d073601 commit 28a8792

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

appveyor.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
version: '{branch}_{build}'
2+
3+
platform:
4+
- x64
5+
6+
install:
7+
- cmd: mkdir build
8+
- cmd: cd build
9+
10+
- cmd: SET QTDIR=C:\Qt_Static
11+
- cmd: echo %QTDIR%
12+
13+
- cmd: curl -fsSL "https://dl.bintray.com/jgeudens/Static-Qt/Qt_Static_5.9.7.zip" -o Qt_Static.zip
14+
15+
- cmd: 7z x Qt_Static.zip -o%QTDIR% -y > null
16+
17+
- cmd: set PATH=%QTDIR%\bin;%PATH%
18+
- cmd: set PATH=C:\Qt\Tools\mingw530_32\bin;%PATH%
19+
- cmd: echo %PATH%
20+
21+
build_script:
22+
- cmd: qmake --version
23+
- cmd: SET QMAKESPEC=win32-g++
24+
25+
- cmd: qmake ..\ModbusServer.pro
26+
- cmd: mingw32-make -j2
27+
28+
artifacts:
29+
- path: build\src\release\ModbusTestSlave.exe
30+

0 commit comments

Comments
 (0)