mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-23 18:14:29 +08:00
6795da23af
Some of the narrowing warnings are false positives; newer versions of Clang do a better job than older ones of determining the range of values of expressions, and don't warn if the range is such that it can be safely narrowed, so maybe the same is true of MSVC.
32 lines
658 B
YAML
32 lines
658 B
YAML
version: '{build}'
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
clone_depth: 5
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
|
|
install:
|
|
- appveyor DownloadFile http://www.winpcap.org/install/bin/WpdPack_4_1_2.zip
|
|
- 7z x .\WpdPack_4_1_2.zip -oc:\projects\libpcap\Win32
|
|
|
|
environment:
|
|
matrix:
|
|
- GENERATOR: "Visual Studio 14 2015"
|
|
SDK: WpdPack
|
|
- GENERATOR: "Visual Studio 14 2015 Win64"
|
|
SDK: WpdPack
|
|
|
|
build_script:
|
|
#
|
|
# Appveyor defaults to cmd.exe, so use cmd.exe syntax.
|
|
#
|
|
- type NUL >.devel
|
|
- md build
|
|
- cd build
|
|
- cmake -DCMAKE_PREFIX_PATH=c:\projects\libpcap\Win32\%SDK% -G"%GENERATOR%" ..
|
|
- msbuild /m /nologo /p:Configuration=Release tcpdump.sln
|