Skip to content

Commit

Permalink
github-actions: remove python3.9 from mac build
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBubel committed Jan 13, 2024
1 parent e0685cf commit d838c98
Showing 1 changed file with 34 additions and 3 deletions.
37 changes: 34 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d838c98

Please sign in to comment.