github-actions: remove python3.9 from mac build

This commit is contained in:
Martin Bubel 2024-01-13 13:52:27 +01:00
parent e0685cfc19
commit d838c98591

View file

@ -10,10 +10,10 @@ permissions:
pull-requests: read
jobs:
build-windows-and-mac:
build-windows:
strategy:
matrix:
os: [windows-latest, macos-latest]
os: [windows-latest]
python: ['3.9', '3.10', '3.11', '3.12']
runs-on: ${{ matrix.os }}
steps:
@ -41,6 +41,37 @@ jobs:
name: dist-artifacts-${{ matrix.os }}-${{ matrix.python }}
path: dist
build-mac:
strategy:
matrix:
os: [macos-latest]
python: ['3.10', '3.11', '3.12'] # 3.9 triggers scipy issues when installing
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Build lib
run: |
pip install setuptools
pip install wheel
python setup.py develop
python setup.py bdist_wheel
- name: List contents of dist
run: ls -R dist
- name: Archive build artifacts
uses: actions/upload-artifact@v4
with:
name: dist-artifacts-${{ matrix.os }}-${{ matrix.python }}
path: dist
build-linux:
runs-on: ubuntu-latest
container:
@ -92,7 +123,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: [build-linux, build-windows-and-mac]
needs: [build-linux, build-windows, build-mac]
steps:
- name: Checkout
uses: actions/checkout@v4