tcpdump/.appveyor.yml
Guy Harris 6795da23af See if a newer MSVC will produce fewer warnings.
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.
2018-09-13 19:19:38 -07:00

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