Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
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
protobuf
Commits
52737c2b
Commit
52737c2b
authored
Jun 12, 2015
by
Feng Xiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add appveyor.xml for windows tests.
parent
54a4cccb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
appveyor.yml
appveyor.yml
+33
-0
No files found.
appveyor.yml
0 → 100644
View file @
52737c2b
# Only test one combination: "Visual Studio 12 + Win64 + Debug + DLL". We can
# test more combinations but AppVeyor just takes too long to finish (each
# combination takes ~15mins).
platform
:
-
Win64
configuration
:
-
Debug
environment
:
matrix
:
-
BUILD_DLL
:
ON
install
:
-
ps
:
Start-FileDownload https://googletest.googlecode.com/files/gtest-1.7.0.zip
-
7z x gtest-1.7.0.zip
-
rename gtest-1.7.0 gtest
before_build
:
-
if %platform%==Win32 set generator=Visual Studio 12
-
if %platform%==Win64 set generator=Visual Studio 12 Win64
-
if %platform%==Win32 set vcplatform=Win32
-
if %platform%==Win64 set vcplatform=x64
build_script
:
-
mkdir build
-
cd build
-
cmake -G "%generator%" -DBUILD_SHARED_LIBS=%BUILD_DLL% ../cmake
-
msbuild protobuf.sln /p:Platform=%vcplatform% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
-
cd %configuration%
-
tests.exe
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