Skip to content

Commit

Permalink
testing ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vaguue committed Aug 11, 2024
1 parent 511bd5a commit f3c67ea
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f3c67ea

Please sign in to comment.