Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
paho.mqtt.c
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eclipse
paho.mqtt.c
Commits
6ab27fb4
Commit
6ab27fb4
authored
Feb 16, 2018
by
Ian Craggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Package AppVeyor artifacts attempt 1
parent
74bff662
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
30 deletions
+24
-30
appveyor.yml
appveyor.yml
+24
-30
No files found.
appveyor.yml
View file @
6ab27fb4
...
...
@@ -2,49 +2,43 @@ version: 1.2.{build}
image
:
-
Visual Studio 2013
-
Visual Studio 2015
configuration
:
Debug
install
:
-
cmd
:
openssl version
-
cmd
:
python --version
configuration
:
Debug
install
:
-
cmd
:
openssl version
-
cmd
:
python --version
-
cmd
:
netsh advfirewall firewall add rule name="Python 2.7" dir=in action=allow program="C:\Python27\python.exe" enable=yes
-
cmd
:
netsh advfirewall firewall add rule name="Open Port 1883" dir=in action=allow protocol=TCP localport=1883
-
cmd
:
netsh advfirewall set allprofiles state off
-
ps
:
Start-Process python -ArgumentList 'test\mqttsas2.py'
-
cmd
:
C:\Python36\python --version
-
cmd
:
git clone https://github.com/eclipse/paho.mqtt.testing.git
-
cmd
:
cd paho.mqtt.testing\interoperability
-
ps
:
Start-Process C:\Python36\python -ArgumentList 'startbroker.py -c client_testing.conf'
-
cmd
:
cd ..\..
-
cmd
:
netsh advfirewall set allprofiles state off
-
ps
:
Start-Process python -ArgumentList 'test\mqttsas2.py'
-
cmd
:
C:\Python36\python --version
-
cmd
:
git clone https://github.com/eclipse/paho.mqtt.testing.git
-
cmd
:
cd paho.mqtt.testing\interoperability
-
ps
:
Start-Process C:\Python36\python -ArgumentList 'startbroker.py -c client_testing.conf'
-
cmd
:
cd ..\..
build_script
:
-
cmd
:
>
-
mkdir build.paho
cd build.paho
echo %APPVEYOR_BUILD_WORKER_IMAGE%
if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2013" call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x64
cmake -G "NMake Makefiles" -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_DOCUMENTATION=FALSE -DPAHO_BUILD_SAMPLES=TRUE -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE ..
nmake
nmake
ctest -T test -VV
cd ..
after_build
:
-
cmd
:
>
-
set ZIPNAME=eclipse-paho-mqtt-c-windows.zip
7z a %ZIPNAME% %APPVEYOR_BUILD_FOLDER%\build.paho\src\*.dll
7z a %ZIPNAME% %APPVEYOR_BUILD_FOLDER%\build.paho\src\*.lib
7z a %ZIPNAME% %APPVEYOR_BUILD_FOLDER%\build.paho\src\*.exe -r
7z a %ZIPNAME% %APPVEYOR_BUILD_FOLDER%\src\MQTTClient.h %APPVEYOR_BUILD_FOLDER%\src\MQTTAsync.h
artifacts
:
-
path
:
eclipse-paho-mqtt-c-windows.zip
name
:
paho-mqtt-c
test
:
assemblies
:
build/Testing/*/Test.xml
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment