Skip to content

Commit

Permalink
Downgrade Mac OS image to get build to pass (#132)
Browse files Browse the repository at this point in the history
Downgrade Mac OS image to macos-13 (which is x86) to get the build to pass. Many packages still do not have M1 (arm64+macos) wheels, and when trying to build from source some libraries are missing (e.g. HDF5 headers).

It's apparently possible to run brew install ... commands in the github actions to fix this, but I will leave this to future me.
  • Loading branch information
bengioe committed May 2, 2024
1 parent 4d13758 commit 286c301
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-test.yaml
Expand Up @@ -14,7 +14,8 @@ jobs:
include:
- {name: Linux, python: '3.10', os: ubuntu-latest, tox: py310}
- {name: Windows, python: '3.10', os: windows-latest, tox: py310}
- {name: Mac, python: '3.10', os: macos-latest, tox: py310}
# Some packages fail on M1 (macos-latest) due to not having wheels and not being able to build from source
- {name: Mac, python: '3.10', os: macos-13, tox: py310}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
Expand Down

0 comments on commit 286c301

Please sign in to comment.