aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/macos.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r--.github/workflows/macos.yml34
1 files changed, 10 insertions, 24 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 2808e0a6f2..7ea2331726 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -5,28 +5,18 @@ on: [push]
jobs:
macos:
name: Build & Test
- runs-on: macos-11.0
+ runs-on: macos-latest
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Set up Python 3.8
- uses: actions/setup-python@v1
+ uses: actions/setup-python@v4
with:
python-version: 3.8
- - name: Install dmgbuild
- run: pip3 install dmgbuild
- - name: Install pytest
- run: pip install pytest pytest-xdist
- - name: Install biplist
- run: pip install biplist
- - name: Set up Ruby 2.6
- uses: actions/setup-ruby@v1.1.2
- with:
- ruby-version: '2.6'
- name: Install deps
- run: ./tools/macos-setup-brew.sh
- - name: Install asciidoctor
- run: gem install asciidoctor
+ 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
@@ -44,14 +34,10 @@ jobs:
run: pytest
working-directory: build
- name: Build dmg
- run: ninja dmg_package
+ run: ninja wireshark_dmg
working-directory: build
- - name: Move dmg package
- run: |
- mkdir dmg
- mv build/run/*dmg dmg/
- name: Upload dmg packages
- uses: actions/upload-artifact@v1
+ uses: actions/upload-artifact@v3
with:
- name: packages
- path: dmg
+ name: package
+ path: build/run/*dmg