mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-26 05:16:24 +02:00
github-actions: update deploy
This commit is contained in:
parent
9a938ec9a1
commit
b82b63b982
1 changed files with 7 additions and 28 deletions
35
.github/workflows/deploy.yml
vendored
35
.github/workflows/deploy.yml
vendored
|
|
@ -10,44 +10,23 @@ permissions:
|
|||
pull-requests: read
|
||||
|
||||
jobs:
|
||||
develop-matrix:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [
|
||||
quay.io/pypa/manylinux2014_x86_64, # replacement for ubuntu-latest, which is accepted on pypi
|
||||
# quay.io/pypa/manylinux2014_i686
|
||||
# quay.io/pypa/manylinux2014_aarch64
|
||||
# quay.io/pypa/manylinux2014_ppc64le
|
||||
# quay.io/pypa/manylinux2014_s390x,
|
||||
windows-latest,
|
||||
macos-latest
|
||||
]
|
||||
python: ['3.9', '3.10', '3.11', '3.12']
|
||||
runs-on: ${{ matrix.os }}
|
||||
build:
|
||||
runs-on: quay.io/pypa/manylinux2014_x86_64
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
|
||||
- name: Install lib
|
||||
- name: Build wheel files
|
||||
run: |
|
||||
pip install --upgrade pip
|
||||
pip install -e .
|
||||
python3.9 setup.py bdist_wheel
|
||||
|
||||
- name: Build wheel
|
||||
run: |
|
||||
pip install setuptools
|
||||
pip install wheel
|
||||
python setup.py bdist_wheel
|
||||
- name: List contents of dist
|
||||
run: ls dist
|
||||
|
||||
- name: Archive build artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: build-artifacts-${{ matrix.os }}-${{ matrix.python }}
|
||||
name: build-artifacts-none-any
|
||||
path: dist
|
||||
|
||||
deploy:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue