mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-26 13:26:22 +02:00
github-actions: remove python3.9 from mac build
This commit is contained in:
parent
e0685cfc19
commit
d838c98591
1 changed files with 34 additions and 3 deletions
37
.github/workflows/deploy.yml
vendored
37
.github/workflows/deploy.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue