From f3c67ea09a357f0952dfb5927e6c5eb1602854b0 Mon Sep 17 00:00:00 2001 From: vaguue Date: Sun, 11 Aug 2024 19:07:59 +0300 Subject: [PATCH] testing ci --- .github/workflows/ci.yaml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e320516..c7f6cfc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -56,16 +56,20 @@ jobs: run: | brew update brew install libpcap - - name: Install npcap on Windows - if: matrix.os == 'windows-latest' - run: choco install nmap && choco install wireshark - - name: Install npcap on Windows - if: matrix.os == 'windows-latest' - run: | - Invoke-WebRequest -Uri "$env:NPCAP_OEM_URL" -OutFile "$env:TEMP/npcap-oem.exe" - # for this ridiculous `&` syntax alone, I'd rather use COBOL than Powershell - # see https://stackoverflow.com/a/1674950/5637701 - & "$env:TEMP/npcap-oem.exe" /S + - name: Install npcap on Windows + if: matrix.os == 'windows-latest' + run: mkdir -p build/Release && wget "https://npcap.com/dist/npcap-sdk-1.13.zip" && unzip npcap-sdk-1.13.zip -d build/Release + shell: bash + #- name: Install npcap on Windows + # if: matrix.os == 'windows-latest' + # run: choco install nmap && choco install wireshark + #- name: Install npcap on Windows + # if: matrix.os == 'windows-latest' + # run: | + # Invoke-WebRequest -Uri "$env:NPCAP_OEM_URL" -OutFile "$env:TEMP/npcap-oem.exe" + # # for this ridiculous `&` syntax alone, I'd rather use COBOL than Powershell + # # see https://stackoverflow.com/a/1674950/5637701 + # & "$env:TEMP/npcap-oem.exe" /S - name: Submodule update run: git submodule update --init --recursive shell: bash