Skip to content

Commit

Permalink
BUG: fix to macos
Browse files Browse the repository at this point in the history
MacOS is not supporting python 3.9 and 3.10.  Changed OS for these versions to one that supports them.  Also specifically call out gcc-14.
  • Loading branch information
aburrell committed Nov 7, 2024
1 parent 72b0f6f commit 171ed0c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,16 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11"]
include:
# MacOS latest does not support 3.9, 3.10
-python-version: "3.9"
os: macos-13
-python-version: "3.10"
os: macos-13
-python-version: "3.11"
os: macos-latest

name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -46,8 +54,8 @@ jobs:
- name: Install on MacOS
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew reinstall gcc
CC=/usr/local/bin/gcc pip install .[test]
brew reinstall gcc-14
CC=/usr/local/bin/gcc-14 pip install .[test]
- name: Install on Windows
if: ${{ matrix.os == 'windows-latest' }}
Expand Down

0 comments on commit 171ed0c

Please sign in to comment.