blob: ce2068e48ec17f789383879b170947453417e398 (
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
28
29
|
name: Windows Builder
on: [push, pull_request]
jobs:
windows-build:
runs-on: windows-2019
strategy:
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 32-bit
shell: cmd
run: |
.\win32\msvcbuild.bat x86
- name: Build 64-bit
shell: cmd
run: |
.\win32\msvcbuild.bat x86_64
- name: Archive DLL files
uses: actions/upload-artifact@v3
with:
name: libnet-${{ github.run_number }}
path: lib/*
|