Skip to content

Commit

Permalink
Try --cask for macos installation
Browse files Browse the repository at this point in the history
  • Loading branch information
juadde committed Jun 21, 2024
1 parent 915c5da commit 3a8bcb2
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -948,20 +948,8 @@ jobs:
uses: actions/download-artifact@v4
with:
name: Wireshark-plugin-standard
- name: Download Wireshark sources
uses: actions/download-artifact@v4
with:
name: Wireshark-Sources
- name: Run tests
run: tar -xvf wireshark.tar.xz
- name: Install dependencies
run: ./wireshark-*/tools/macos-setup-brew.sh
- name: Prepare compilation
run: cd wireshark-* && cmake ${WIRESHARK_BUILD_OPTS} -DENABLE_LUA=ON -DFETCH_lua=ON -DBUILD_wireshark=OFF -DBUILD_tshark=ON .
- name: Compile and install
run: cd wireshark-* && sudo make tshark install
- name: Configure rpath for tshark
run: install_name_tool -add_rpath /usr/local/lib /usr/local/bin/tshark
- name: Intall wireshark
run: brew install --cask wireshark
- name: Unzip plugin
run: sudo unzip Wireshark_plugin.zip -d /usr/local
- name: Run discrete test
Expand Down

0 comments on commit 3a8bcb2

Please sign in to comment.