From 3a8bcb2bf2f27e9fe7bc79cdd1a68b945f39f8c9 Mon Sep 17 00:00:00 2001 From: juadde <29175532+juadde@users.noreply.github.com> Date: Fri, 21 Jun 2024 12:14:47 +0200 Subject: [PATCH] Try --cask for macos installation --- .github/workflows/CI.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 9539495..25c5204 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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