2018-01-30 05:36:30 +08:00
|
|
|
version: '{build}'
|
|
|
|
|
|
|
|
clone_depth: 5
|
|
|
|
|
2021-03-04 08:11:59 +08:00
|
|
|
branches:
|
2021-03-05 05:43:16 +08:00
|
|
|
except:
|
|
|
|
- coverity_scan
|
2021-03-04 08:11:59 +08:00
|
|
|
|
2018-01-30 05:36:30 +08:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
install:
|
2019-08-05 21:11:50 +08:00
|
|
|
- appveyor DownloadFile https://www.winpcap.org/install/bin/WpdPack_4_1_2.zip
|
2018-02-24 08:05:51 +08:00
|
|
|
- 7z x .\WpdPack_4_1_2.zip -oc:\projects\libpcap\Win32
|
2022-01-07 07:05:07 +08:00
|
|
|
- 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
|
2018-01-30 05:36:30 +08:00
|
|
|
|
2018-09-14 07:09:51 +08:00
|
|
|
environment:
|
|
|
|
matrix:
|
2019-08-11 11:28:17 +08:00
|
|
|
- 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"
|
2022-01-07 07:05:07 +08:00
|
|
|
SDK: npcap-sdk-1.12
|
2019-08-11 11:28:17 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
|
|
GENERATOR: "Visual Studio 14 2015 Win64"
|
2022-01-07 07:05:07 +08:00
|
|
|
SDK: npcap-sdk-1.12
|
2019-08-11 11:28:17 +08:00
|
|
|
- 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"
|
2022-01-07 07:05:07 +08:00
|
|
|
SDK: npcap-sdk-1.12
|
2019-08-11 11:28:17 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
|
|
GENERATOR: "Visual Studio 15 2017 Win64"
|
2022-01-07 07:05:07 +08:00
|
|
|
SDK: npcap-sdk-1.12
|
2020-06-06 07:34:57 +08:00
|
|
|
- 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
|
2022-01-07 07:05:07 +08:00
|
|
|
SDK: npcap-sdk-1.12
|
2020-06-06 07:34:57 +08:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
|
|
GENERATOR: "Visual Studio 16 2019"
|
|
|
|
PLATFORM: x64
|
2022-01-07 07:05:07 +08:00
|
|
|
SDK: npcap-sdk-1.12
|
2018-09-14 07:09:51 +08:00
|
|
|
|
2018-01-30 05:36:30 +08:00
|
|
|
build_script:
|
2018-09-14 08:14:23 +08:00
|
|
|
#
|
|
|
|
# Appveyor defaults to cmd.exe, so use cmd.exe syntax.
|
|
|
|
#
|
|
|
|
- type NUL >.devel
|
2018-01-30 05:36:30 +08:00
|
|
|
- md build
|
|
|
|
- cd build
|
2020-06-06 07:34:57 +08:00
|
|
|
- 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% ..
|
2018-09-14 08:14:23 +08:00
|
|
|
- msbuild /m /nologo /p:Configuration=Release tcpdump.sln
|