From ab4c7c42071213c6795b31b8fa724ca77bfdbb79 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Thu, 16 Feb 2023 17:24:07 +0300 Subject: [PATCH 1/2] Update libpcap to v1.10.3 and use openssl 1.1.1t --- libpcap-version.props | 2 +- libpcap.vcxproj | 2 +- openssl-version.props | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libpcap-version.props b/libpcap-version.props index a5c2933..292ebf3 100644 --- a/libpcap-version.props +++ b/libpcap-version.props @@ -4,7 +4,7 @@ - 1.10.0 + 1.10.3 $(BaseDir)libpcap-libpcap-$(libpcapVersion) diff --git a/libpcap.vcxproj b/libpcap.vcxproj index 1c9f92a..4ddcdd3 100644 --- a/libpcap.vcxproj +++ b/libpcap.vcxproj @@ -46,7 +46,7 @@ - + \ No newline at end of file diff --git a/openssl-version.props b/openssl-version.props index a0bb950..fe464fa 100644 --- a/openssl-version.props +++ b/openssl-version.props @@ -4,7 +4,7 @@ - 1.1.1l + 1.1.1t $(BaseDir)openssl-$(OpenSSLVersion) From b5f910797da918b3e207719295410633d2514df8 Mon Sep 17 00:00:00 2001 From: s3rj1k Date: Mon, 20 Jan 2025 22:28:18 +0100 Subject: [PATCH 2/2] [GHA] Add `Windows` workflow --- .github/workflows/windows.yml | 54 +++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 0000000..a4ebd58 --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,54 @@ +name: Windows Build + +on: + workflow_dispatch: + push: + branches: + - v1.10.3 + pull_request: + branches: + - v1.10.3 + +jobs: + build: + name: Build libpcap Windows + runs-on: windows-2019 + + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Install build dependencies + run: | + choco install nasm strawberryperl -y + echo "C:\Program Files\NASM" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + echo "C:\Strawberry\perl\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + + # https://learn.microsoft.com/en-us/visualstudio/releases/2019/history + - name: Check available VS versions + shell: cmd + run: | + where vswhere.exe + vswhere.exe -all -prerelease -format json + + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v2 + with: + msbuild-architecture: x64 + # https://github.com/microsoft/setup-msbuild?tab=readme-ov-file#specifying-specific-versions-of-visual-studio-optional + # vs-version: "[16.11,16.12)" + + - name: Build All Configurations + shell: cmd + run: | + CALL build.cmd + + - name: Upload Build Artifacts + uses: actions/upload-artifact@v4 + with: + name: libpcap-windows-builds + path: out/*.zip + if-no-files-found: error + retention-days: 7