forked from seladb/PcapPlusPlus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
41 lines (35 loc) · 1.29 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: 1.0.{build}
environment:
NPCAP_USERNAME:
secure: iVuVl18E7ZfsuRjz0YKJKQ==
NPCAP_PASSWORD:
secure: 8sWBrDudyutFv+4Eq6teJA==
PYTHON: "C:\\Python38-x64"
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
compiler: vs2015
platform: x86
config: Debug
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
compiler: vs2017
platform: x86
config: Debug
init:
- set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
install:
- cmd: ci\install_npcap.bat
- cmd: python -m pip install --upgrade pip
- cmd: ci\install_tcpreplay.bat
before_build:
- cmd: configure-windows-visual-studio.bat -v %compiler% -w C:\Npcap-sdk
build_script:
- ps: msbuild mk\$env:compiler\PcapPlusPlus.sln /p:Configuration=$env:config /p:Platform=$env:platform
- ps: msbuild mk\$env:compiler\PcapPlusPlus-Examples.sln /p:Configuration=$env:config /p:Platform=$env:platform
- ps: msbuild mk\$env:compiler\Tutorials.sln /p:Configuration=$env:config /p:Platform=$env:platform
test_script:
- cmd: python -m pip install -r ci\run_tests\requirements.txt
- cmd: python ci\run_tests\run_tests_windows.py -s TestRawSockets
- cmd: ci\find_ip.bat
- cmd: cd Tests\ExamplesTest
- cmd: python -m pip install -r requirements.txt
- cmd: python -m pytest --interface %NetworkIP%