mirror of
https://github.com/GyulyVGC/sniffnet.git
synced 2025-12-23 22:29:01 -05:00
update package CI/CD to build binary also for Windows ARM64
This commit is contained in:
6
.github/workflows/package.yml
vendored
6
.github/workflows/package.yml
vendored
@@ -35,6 +35,9 @@ jobs:
|
||||
- os: windows
|
||||
arch: amd64
|
||||
target: x86_64-pc-windows-msvc
|
||||
- os: windows
|
||||
arch: arm64
|
||||
target: aarch64-pc-windows-msvc
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@@ -58,6 +61,7 @@ jobs:
|
||||
{
|
||||
"i386" { "Lib" }
|
||||
"amd64" { "Lib\x64" }
|
||||
"arm64" { "Lib\x64" }
|
||||
default { throw "$ARCH is not supported!" }
|
||||
}
|
||||
Add-Content -Path "$env:GITHUB_ENV" -Value "LIB=$env:TEMP\npcap-sdk\$LibPath"
|
||||
@@ -339,6 +343,8 @@ jobs:
|
||||
target: i686-pc-windows-msvc
|
||||
- arch: 64-bit
|
||||
target: x86_64-pc-windows-msvc
|
||||
- arch: arm64
|
||||
target: aarch64-pc-windows-msvc
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
||||
Reference in New Issue
Block a user