github-actions: update deploy

This commit is contained in:
Martin Bubel 2024-01-13 09:59:50 +01:00
parent 9a938ec9a1
commit b82b63b982

View file

@ -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: