Skip to content

chore(iso20): add some other nodes dissectors for initial pass #301

chore(iso20): add some other nodes dissectors for initial pass

chore(iso20): add some other nodes dissectors for initial pass #301

Workflow file for this run

# GitHub Action workflows to build and test the plug-in on MacOS
#
# Adapted from Wireshark's repository https://gitlab.com/wireshark/wireshark/-/tree/master/.github/workflows
name: Build MacOS plug-in
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_call:
env:
WIRESHARK_BRANCH: release-4.2
jobs:
intree:
name: Build in-tree plugin
runs-on: macos-latest
steps:
- name: Checkout Wireshark
run: |
git init
git remote add -t "${{ env.WIRESHARK_BRANCH }}" -f origin https://gitlab.com/wireshark/wireshark.git
git checkout ${{ env.WIRESHARK_BRANCH }}
- name: Checkout plug-in
uses: actions/checkout@v3
with:
path: plugins/epan/v2g
- name: Apply patch
run: |
git apply plugins/epan/v2g/extern/wireshark-${{ env.WIRESHARK_BRANCH }}.patch
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install brew deps
run: ./tools/macos-setup-brew.sh --install-optional --install-doc-deps --install-dmg-deps --install-test-deps
env:
HOMEBREW_NO_AUTO_UPDATE: 1
- name: Install dmgbuild
run: pip3 install dmgbuild
- name: Build in-tree
run: |
mkdir build
cd build
cmake -GNinja ..
ninja
ninja wireshark_dmg
- name: Upload MacOS artifacts
uses: actions/upload-artifact@v3
with:
name: macos-packages
path: build/run/*dmg