diff options
author | Guy Harris <gharris@sonic.net> | 2020-06-05 16:34:57 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-06-05 16:34:57 -0700 |
commit | 50fab58b36c49137d428e050f25f555657642943 (patch) | |
tree | fc567a1de6da3d028c0e0993f61dea1c8fcb089c /.appveyor.yml | |
parent | ea4e272785eb3a1aab6ac148f178439c86aa68ae (diff) | |
download | tcpdump-50fab58b36c49137d428e050f25f555657642943.tar.gz |
appveyor: add VS 2019 tests.
VS 2019 is different from earlier versions of VS in the way it handles
the target platform; handle that in the fashion that much bashing on
libpcap's .appveyor.yml got to work.
Diffstat (limited to '.appveyor.yml')
-rw-r--r-- | .appveyor.yml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index ea026f67..12797bea 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -37,6 +37,22 @@ environment: - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 GENERATOR: "Visual Studio 15 2017 Win64" SDK: npcap-sdk-1.05 + - 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.05 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + GENERATOR: "Visual Studio 16 2019" + PLATFORM: x64 + SDK: npcap-sdk-1.05 build_script: # @@ -45,5 +61,6 @@ build_script: - type NUL >.devel - md build - cd build - - cmake -DPCAP_ROOT=c:\projects\libpcap\Win32\%SDK% -G"%GENERATOR%" .. + - 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 |