-
Notifications
You must be signed in to change notification settings - Fork 271
/
.appveyor.yml
42 lines (37 loc) · 1.02 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
# Copyright 2020-2021 Chris Morgan <[email protected]>
# SPDX-License-Identifier: MIT
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
branches:
only:
- master
image:
- Visual Studio 2022
- macos
for:
- matrix:
only:
- image: Visual Studio 2022
install:
- ps: .\scripts\install-windows.ps1
- ps: .\scripts\Install-npcap.ps1
- ps: .\scripts\install-winpkfilter.ps1
build_script:
- dotnet build -c Release
test_script:
- bash scripts/test.sh --filter "TestCategory!=RemotePcap&TestCategory!=WinDivert"
- matrix:
only:
- image: macos
install:
- brew install --cask dotnet-sdk
- sudo -E bash scripts/install-libpcap.sh
test_script:
- sudo -E bash scripts/test.sh