Skip to content

Commit

Permalink
github-actions: update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBubel committed Jan 13, 2024
1 parent 9a938ec commit b82b63b
Showing 1 changed file with 7 additions and 28 deletions.
35 changes: 7 additions & 28 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b82b63b

Please sign in to comment.