mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-04-30 16:09:43 +00:00
CI: update Windows runners (#2794)
* add CI on Windows 11 on ARM * workaround fow Windows build where the test script is stuck in parallel mode
This commit is contained in:
parent
f938212f0c
commit
9129aa8aac
3 changed files with 15 additions and 7 deletions
14
.github/workflows/build-msbuild.yml
vendored
14
.github/workflows/build-msbuild.yml
vendored
|
|
@ -11,8 +11,12 @@ on:
|
|||
types: [created]
|
||||
jobs:
|
||||
test:
|
||||
name: MSBuild
|
||||
runs-on: windows-latest
|
||||
name: MSBuild ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
os: ["windows-latest", "windows-11-arm"]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -27,10 +31,10 @@ jobs:
|
|||
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'
|
||||
run: Invoke-WebRequest -Uri 'https://npcap.com/dist/npcap-1.81.exe' -OutFile 'C:\npcap-1.81.exe'
|
||||
|
||||
- name: Install Npcap
|
||||
run: C:\npcap-1.71.exe /S /winpcap_mode=yes
|
||||
run: C:\npcap-1.81.exe /S /winpcap_mode=yes
|
||||
|
||||
- name: Build ndpiReader (debug)
|
||||
run: msbuild windows/nDPI.sln -t:rebuild -property:Configuration=Debug-ndpiReader
|
||||
|
|
@ -38,6 +42,6 @@ jobs:
|
|||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: build-artifacts
|
||||
name: build-artifacts-${{ matrix.os }}
|
||||
path: windows/bin
|
||||
retention-days: 14
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue