Skip to content

Commit

Permalink
Install wireshark dependency in builds job
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz committed Oct 29, 2024
1 parent 9c4ee8b commit f42983f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,32 @@ jobs:
- { target: x86_64-pc-windows-msvc, arch: win64, os: windows-10 }

steps:
- if: contains(matrix.job.os, 'ubuntu')
name: Install dependencies
run: |
sudo apt install -y software-properties-common
sudo add-apt-repository -y ppa:wireshark-dev/stable
sudo apt install -y wireshark-dev
sudo apt install -y --allow-change-held-packages wireshark
- if: contains(matrix.job.os, 'windows')
name: Install dependencies
run: |
$installed = (choco list -l -r --id-only) -join " "
$install_list = @("xsltproc", "docbook-bundle", "nsis", "winflexbison3", "cmake", "7zip")
ForEach ($pkg in $install_list.split(" ")) {
if (-Not ($installed.contains($pkg))) {
gsudo choco install -y --force --no-progress $pkg
}
}
gsudo choco install -y --no-progress wireshark --version 4.2.0
- if: contains(matrix.job.os, 'macos')
name: Install dependencies
run: |
brew install --cask wireshark
ln -snf $(find /Applications/Wireshark.app/Contents/Frameworks -name "libwireshark.*.dylib" | tail -n 1) libwireshark.dylib
- name: Checkout
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit f42983f

Please sign in to comment.