diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
commit | e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch) | |
tree | 68cb5ef9081156392f1dd62a00c6ccc1451b93df /.github/workflows/macos.yml | |
parent | Initial commit. (diff) | |
download | wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip |
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r-- | .github/workflows/macos.yml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..7ea2331 --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,43 @@ +name: Build MacOS + +on: [push] + +jobs: + macos: + name: Build & Test + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Set up Python 3.8 + uses: actions/setup-python@v4 + with: + python-version: 3.8 + - name: Install 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: Mkdir + run: mkdir build + - name: Cmake + working-directory: build + run: cmake -GNinja .. + - name: Build + run: ninja + working-directory: build + - name: Build test-programs + run: ninja test-programs + working-directory: build + - name: Run tests + env: + PYTEST_ADDOPTS: --skip-missing-programs=rawshark + run: pytest + working-directory: build + - name: Build dmg + run: ninja wireshark_dmg + working-directory: build + - name: Upload dmg packages + uses: actions/upload-artifact@v3 + with: + name: package + path: build/run/*dmg |