Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1009 B
34 lines
1009 B
# 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://googlemock.googlecode.com/files/gmock-1.7.0.zip |
|
- 7z x gmock-1.7.0.zip |
|
- rename gmock-1.7.0 gmock |
|
|
|
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_msvc |
|
- cd build_msvc |
|
- 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 |
|
|
|
skip_commits: |
|
message: /.*\[skip appveyor\].*/
|
|
|