aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2022-09-20 09:10:08 +0200
committerToni Uhlig <matzeton@googlemail.com>2022-09-20 22:07:24 +0200
commit0f59a997d97159ec3c5d3d900fd97d73983902e6 (patch)
tree3d777325ca1bc7d90bed46fb3d585b902d60b050 /.github/workflows
parent8fc161a8ee3dc29e19bcf73387bda1fff627e817 (diff)
Build ndpiReader and run regression tests.add/vs-proj-sln-and-ci-msbuild
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..f2af20cb9 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
+
+ - name: Build ndpiReader (debug)
+ run: msbuild windows/nDPI.sln -t:rebuild -property:Configuration=Debug-ndpiReader
+
- name: Upload artifacts
uses: actions/upload-artifact@v2
with: