Skip to content

Commit

Permalink
testing ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vaguue committed Jul 14, 2024
1 parent b7dfdd9 commit c492cea
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,15 @@ jobs:
run: |
brew update
brew install libpcap
- name: Install libpcap on Windows
- name: Install npcap on Windows
if: matrix.os == 'windows-latest'
env:
NPCAP_OEM_URL: ${{ secrets.NPCAP_OEM_URL }}
run: |
choco install wireshark && choco install winpcap
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 c492cea

Please sign in to comment.