1version: '{build}' 2 3clone_depth: 5 4 5branches: 6 except: 7 - coverity_scan 8 9matrix: 10 fast_finish: true 11 12install: 13 - appveyor DownloadFile https://www.winpcap.org/install/bin/WpdPack_4_1_2.zip 14 - 7z x .\WpdPack_4_1_2.zip -oc:\projects\libpcap\Win32 15 - appveyor DownloadFile https://npcap.com/dist/npcap-sdk-1.12.zip 16 - 7z x .\npcap-sdk-1.12.zip -oc:\projects\libpcap\Win32\npcap-sdk-1.12 17 18environment: 19 matrix: 20 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 21 GENERATOR: "Visual Studio 14 2015" 22 SDK: WpdPack 23 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 24 GENERATOR: "Visual Studio 14 2015 Win64" 25 SDK: WpdPack 26 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 27 GENERATOR: "Visual Studio 14 2015" 28 SDK: npcap-sdk-1.12 29 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 30 GENERATOR: "Visual Studio 14 2015 Win64" 31 SDK: npcap-sdk-1.12 32 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 33 GENERATOR: "Visual Studio 15 2017" 34 SDK: WpdPack 35 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 36 GENERATOR: "Visual Studio 15 2017 Win64" 37 SDK: WpdPack 38 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 39 GENERATOR: "Visual Studio 15 2017" 40 SDK: npcap-sdk-1.12 41 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 42 GENERATOR: "Visual Studio 15 2017 Win64" 43 SDK: npcap-sdk-1.12 44 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 45 GENERATOR: "Visual Studio 16 2019" 46 PLATFORM: Win32 47 SDK: WpdPack 48 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 49 GENERATOR: "Visual Studio 16 2019" 50 PLATFORM: x64 51 SDK: WpdPack 52 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 53 GENERATOR: "Visual Studio 16 2019" 54 PLATFORM: Win32 55 SDK: npcap-sdk-1.12 56 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 57 GENERATOR: "Visual Studio 16 2019" 58 PLATFORM: x64 59 SDK: npcap-sdk-1.12 60 61build_script: 62 # 63 # Appveyor defaults to cmd.exe, so use cmd.exe syntax. 64 # 65 - type NUL >.devel 66 - md build 67 - cd build 68 - if NOT DEFINED PLATFORM cmake -DPCAP_ROOT=c:\projects\libpcap\Win32\%SDK% -G"%GENERATOR%" .. 69 - if DEFINED PLATFORM cmake -DPCAP_ROOT=c:\projects\libpcap\Win32\%SDK% -G"%GENERATOR%" -A %PLATFORM% .. 70 - msbuild /m /nologo /p:Configuration=Release tcpdump.sln 71