forked from dotpcap/sharppcap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
59 lines (52 loc) · 1.27 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
environment:
# This key is encrypted using secdev's appveyor private key,
# dissected only on master builds (not PRs) and is used during
# npcap OEM installation
npcap_oem_key:
secure: DD54X4DVUeG/IpY41fFPYgl3EfQRTEt5BoibQDm0MeI=
# Disable automatic AppVeyor build logic
build: off
skip_branch_with_pr: true
image:
- Visual Studio 2017
- Visual Studio 2019
- Ubuntu1804
- macos
for:
-
matrix:
only:
- image: Visual Studio 2017
install:
- choco install -y dotnet-sdk --version=5.0.400
- ps: .\scripts\InstallNpcap.ps1
build_script:
- dotnet build -c Release
test_script:
- bash scripts/test.sh --filter "TestCategory!=Performance&TestCategory!=RemotePcap&TestCategory!=WinDivert"
-
matrix:
only:
- image: Visual Studio 2019
install:
- ps: .\scripts\InstallNpcap.ps1
build_script:
- dotnet build -c Release
test_script:
- bash scripts/test.sh --filter "TestCategory!=RemotePcap&TestCategory!=WinDivert"
-
matrix:
only:
- image: Ubuntu1804
install:
- sudo -E bash scripts/install-libpcap.sh
test_script:
- sudo -E bash scripts/test.sh
-
matrix:
only:
- image: macos
install:
- sudo -E bash scripts/install-libpcap.sh
test_script:
- sudo -E bash scripts/test.sh