blob: 6dbd8446dc6edb739c0cefffa61c4945dcc7edaf (
plain)
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
|
name: Windows Builder
on: [push, pull_request]
jobs:
windows-build:
runs-on: windows-2019
strategy:
matrix:
arch: [x86, x86_64]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: microsoft/setup-msbuild@v1.1
- name: Install Npcap
run: |
Invoke-WebRequest https://npcap.com/dist/npcap-sdk-1.13.zip -OutFile ../npcap-sdk.zip
Expand-Archive ../npcap-sdk.zip -DestinationPath ../npcap-sdk
- name: Build ${{ matrix.arch }}
shell: cmd
run: |
.\win32\msvcbuild.bat ${{ matrix.arch }}
- name: Archive DLL files
uses: actions/upload-artifact@v3
with:
name: libnet-${{ matrix.arch }}-build${{ github.run_number }}
path: lib/${{ matrix.arch }}
|