mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-24 10:33:28 +08:00
821f27bbe1
As per the comments on https://github.com/nmap/npcap/issues/576, we should go to npcap.com for Npcap-related stuff. The current SDK is 1.12; use that. [skip cirrus] [skip buildbot]
71 lines
2.3 KiB
YAML
71 lines
2.3 KiB
YAML
version: '{build}'
|
|
|
|
clone_depth: 5
|
|
|
|
branches:
|
|
except:
|
|
- coverity_scan
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
|
|
install:
|
|
- appveyor DownloadFile https://www.winpcap.org/install/bin/WpdPack_4_1_2.zip
|
|
- 7z x .\WpdPack_4_1_2.zip -oc:\projects\libpcap\Win32
|
|
- appveyor DownloadFile https://npcap.com/dist/npcap-sdk-1.12.zip
|
|
- 7z x .\npcap-sdk-1.12.zip -oc:\projects\libpcap\Win32\npcap-sdk-1.12
|
|
|
|
environment:
|
|
matrix:
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
GENERATOR: "Visual Studio 14 2015"
|
|
SDK: WpdPack
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
GENERATOR: "Visual Studio 14 2015 Win64"
|
|
SDK: WpdPack
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
GENERATOR: "Visual Studio 14 2015"
|
|
SDK: npcap-sdk-1.12
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
GENERATOR: "Visual Studio 14 2015 Win64"
|
|
SDK: npcap-sdk-1.12
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
GENERATOR: "Visual Studio 15 2017"
|
|
SDK: WpdPack
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
GENERATOR: "Visual Studio 15 2017 Win64"
|
|
SDK: WpdPack
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
GENERATOR: "Visual Studio 15 2017"
|
|
SDK: npcap-sdk-1.12
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
GENERATOR: "Visual Studio 15 2017 Win64"
|
|
SDK: npcap-sdk-1.12
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
GENERATOR: "Visual Studio 16 2019"
|
|
PLATFORM: Win32
|
|
SDK: WpdPack
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
GENERATOR: "Visual Studio 16 2019"
|
|
PLATFORM: x64
|
|
SDK: WpdPack
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
GENERATOR: "Visual Studio 16 2019"
|
|
PLATFORM: Win32
|
|
SDK: npcap-sdk-1.12
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
GENERATOR: "Visual Studio 16 2019"
|
|
PLATFORM: x64
|
|
SDK: npcap-sdk-1.12
|
|
|
|
build_script:
|
|
#
|
|
# Appveyor defaults to cmd.exe, so use cmd.exe syntax.
|
|
#
|
|
- type NUL >.devel
|
|
- md build
|
|
- cd build
|
|
- if NOT DEFINED PLATFORM cmake -DPCAP_ROOT=c:\projects\libpcap\Win32\%SDK% -G"%GENERATOR%" ..
|
|
- if DEFINED PLATFORM cmake -DPCAP_ROOT=c:\projects\libpcap\Win32\%SDK% -G"%GENERATOR%" -A %PLATFORM% ..
|
|
- msbuild /m /nologo /p:Configuration=Release tcpdump.sln
|