TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags
[wireshark-sm.git] / .github / workflows / macos.yml
blob4bb314b8eeeec6a4cc2de9865dbe79b79d008fbb
1 name: Build MacOS
3 on: [push]
5 jobs:
6   macos:
7     name: Build & Test
8     runs-on: macos-latest
9     steps:
10       - name: Checkout
11         uses: actions/checkout@v4
12       - name: Set up Python 3.11
13         uses: actions/setup-python@v5
14         with:
15           python-version: 3.11
16       - name: Install deps
17         run: ./tools/macos-setup-brew.sh --install-optional --install-doc-deps --install-dmg-deps --install-test-deps
18         env:
19           HOMEBREW_NO_AUTO_UPDATE: 1
20       - name: Install pytest
21         run: pip3 install pytest pytest-xdist
22       - name: Install dmgbuild
23         run: pip3 install dmgbuild
24       - name: Mkdir
25         run: mkdir build
26       - name: Cmake
27         working-directory: build
28         run: cmake -GNinja ..
29       - name: Build
30         run: ninja
31         working-directory: build
32       - name: Build test-programs
33         run: ninja test-programs
34         working-directory: build
35       - name: Run tests
36         env:
37           PYTEST_ADDOPTS: --skip-missing-programs=rawshark
38         run: pytest
39         working-directory: build
40       - name: Build dmg
41         run: ninja wireshark_dmg
42         working-directory: build
43       - name: Upload dmg packages
44         uses: actions/upload-artifact@v4
45         with:
46           name: package
47           path: build/run/*dmg