Skip to content

Commit

Permalink
github/workflow: fix macos
Browse files Browse the repository at this point in the history
For macos-latest runner on Github using macos14 on arm there is only Python
>= 3.11 available.

We have to install pytest and dmgbuild manually
  • Loading branch information
uhei committed Apr 24, 2024
1 parent 4205eb2 commit f186f44
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 3.8
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11
- 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: Install pytest
run: pip3 install pytest pytest-xdist
- name: Install dmgbuild
run: pip3 install dmgbuild
- name: Mkdir
run: mkdir build
- name: Cmake
Expand Down

0 comments on commit f186f44

Please sign in to comment.