aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2022-09-20 09:10:08 +0200
committerToni <matzeton@googlemail.com>2022-09-21 18:03:22 +0200
commitd6701e8979292834cd50abc78e8beafea7c7be8c (patch)
tree0d864e254c33443402747ea15347dac0ab95fb5e /.github/workflows
parent3db6413ab08516d5c939611f254dbcff0c09bf5d (diff)
Build ndpiReader and run regression tests.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com> Signed-off-by: lns <matzeton@googlemail.com> Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build-msbuild.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/workflows/build-msbuild.yml b/.github/workflows/build-msbuild.yml
index ccec10dee..5ec5c5bb1 100644
--- a/.github/workflows/build-msbuild.yml
+++ b/.github/workflows/build-msbuild.yml
@@ -20,9 +20,21 @@ jobs:
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1
- - name: Build solution for debug
+ - 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@v2
with: