feat(dissector): add more derived values for current demand #230
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
WIRESHARK_QT_VERSION: 5.15.3 | |
jobs: | |
intree: | |
name: Build in-tree plugin | |
runs-on: macos-11.0 | |
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.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- 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: 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 |