Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
35d723ce
Commit
35d723ce
authored
Oct 22, 2015
by
Anonymous Maarten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Windows Continuous Integration (appveyor)
parent
55ca9c56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
66 additions
and
0 deletions
+66
-0
appveyor.yml
appveyor.yml
+66
-0
No files found.
appveyor.yml
0 → 100644
View file @
35d723ce
version
:
build-{build}
clone_depth
:
1
skip_tags
:
true
os
:
Visual Studio 2015
environment
:
CMAKE_GENERATOR
:
"
Visual
Studio
14
2015"
MSVCVERSION
:
"
v140"
MSVCYEAR
:
"
vs2015"
matrix
:
fast_finish
:
false
platform
:
-
Win32
-
x64
configuration
:
-
Release
-
Debug
init
:
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
-
cmake --version
-
msbuild /version
-
cmd
:
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v UserAuthentication /t REG_DWORD /d 0 /f
install
:
-
cmd
:
if "%Platform%"=="x64" set "CMAKE_GENERATOR=%CMAKE_GENERATOR% Win64"
-
cmd
:
echo "Generator='%CMAKE_GENERATOR%'"
-
cmd
:
echo "Platform='%Platform%'"
-
cmd
:
set LIBSODIUMDIR=C:\projects\libsodium
-
cmd
:
git clone --depth 1 --quiet "https://github.com/jedisct1/libsodium.git" %LIBSODIUMDIR%
-
cmd
:
msbuild /v:minimal /maxcpucount:%NUMBER_OF_PROCESSORS% /p:Configuration=%Configuration%DLL %LIBSODIUMDIR%\builds\msvc\%MSVCYEAR%\libsodium\libsodium.vcxproj
-
cmd
:
set SODIUM_LIBRARY_DIR="%LIBSODIUMDIR%\bin\%Platform%\%Configuration%\%MSVCVERSION%\dynamic"
-
cmd
:
set SODIUM_INCLUDE_DIR="%LIBSODIUMDIR%\src\libsodium\include"
-
cmd
:
move "%SODIUM_LIBRARY_DIR%\libsodium.lib" "%SODIUM_LIBRARY_DIR%\sodium.lib"
clone_folder
:
C:\projects\libzmq
before_build
:
-
cmd
:
set LIBZMQ_BUILDDIR=C:\projects\build_libzmq
-
cmd
:
md "%LIBZMQ_BUILDDIR%"
-
cd "%LIBZMQ_BUILDDIR%"
-
cmd
:
cmake -D CMAKE_INCLUDE_PATH="%SODIUM_INCLUDE_DIR%" -D CMAKE_LIBRARY_PATH="%SODIUM_LIBRARY_DIR%" -D CMAKE_C_FLAGS_RELEASE="/MT" -D CMAKE_C_FLAGS_DEBUG="/MTd" -G "%CMAKE_GENERATOR%" "%APPVEYOR_BUILD_FOLDER%"
build
:
parallel
:
true
project
:
C:\projects\build_libzmq\ZeroMQ.sln
verbosity
:
minimal
after_build
:
-
cmd
:
cd %LIBZMQ_BUILDDIR%\bin\%Configuration%"
-
cmd
:
copy "%SODIUM_LIBRARY_DIR%\libsodium.dll" .
# Pack the artifacts
-
cmd
:
7z a -y -bd -mx=9 libzmq.zip *.exe *.dll
-
ps
:
Push-AppveyorArtifact "libzmq.zip" -Filename "libzmq-${env:Platform}-${env:Configuration}.zip"
-
cmd
:
cd "%LIBZMQ_BUILDDIR%"
-
cmd
:
ctest -C "%Configuration%" -V
test
:
none
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