When triggering risk "Known Proto on Non Std Port", nDPi now reports … #3115
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MSBuild | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
branches: | |
- dev | |
types: [opened, synchronize, reopened] | |
release: | |
types: [created] | |
jobs: | |
test: | |
name: MSBuild | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v2 | |
- name: Download NuGet packages | |
run: msbuild windows/nDPI.sln -t:restore -p:RestorePackagesConfig=true | |
- name: Build libnDPI only (debug) | |
run: msbuild windows/nDPI.sln -t:rebuild -property:Configuration=Debug | |
- name: Download Npcap | |
run: Invoke-WebRequest -Uri 'https://npcap.com/dist/npcap-1.71.exe' -OutFile 'C:\npcap-1.71.exe' | |
- name: Install Npcap | |
run: C:\npcap-1.71.exe /S /winpcap_mode=yes | |
- name: Build ndpiReader (debug) | |
run: msbuild windows/nDPI.sln -t:rebuild -property:Configuration=Debug-ndpiReader | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-artifacts | |
path: windows/bin | |
retention-days: 14 |