Skip to content

Commit

Permalink
Add macos steps
Browse files Browse the repository at this point in the history
  • Loading branch information
juadde committed May 22, 2024
1 parent ccec03c commit 92f1372
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -878,13 +878,25 @@ jobs:

test_macos:
runs-on: macos-latest
needs: [package_standard_plugin]
needs: [package_standard_plugin, dependency_download]
steps:
- name: Download plugin
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: brew install wireshark
- name: Tshark version
run: tar -xvf wireshark.tar.xz
- name: Change to build directory
run: cd Wireshark-*
- name: Install dependencies
run: ./macosx-setup.sh
- name: Prepare compilation
run: cmake ${WIRESHARK_CENTOS_BUILD_OPTS} -DENABLE_LUA=ON -DFETCH_lua=ON -DBUILD_wireshark=OFF -DBUILD_tshark=ON .
- name: Compile
run: make tshark install
- name: Check version
run: tshark --version

0 comments on commit 92f1372

Please sign in to comment.