Skip to content

Commit

Permalink
Isolate failing sdist step
Browse files Browse the repository at this point in the history
  • Loading branch information
pemistahl committed Aug 27, 2023
1 parent 4d79314 commit 71ed270
Showing 1 changed file with 0 additions and 111 deletions.
111 changes: 0 additions & 111 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,121 +21,10 @@ on:
- debug-github-workflow

jobs:
linux:
name: Python on Linux and target ${{ matrix.target }}

runs-on: ubuntu-latest

strategy:
matrix:
target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]

steps:
- name: Check out repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'

- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
manylinux: auto

- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist

windows:
name: Python on Windows and target ${{ matrix.target }}

runs-on: windows-latest

strategy:
matrix:
target: [x64, x86]

steps:
- name: Check out repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
architecture: ${{ matrix.target }}
cache: 'pip'

- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
sccache: 'true'

- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist

macos:
name: Python on MacOS and target ${{ matrix.target }}

runs-on: macos-latest

strategy:
matrix:
target: [x86_64, aarch64]

steps:
- name: Check out repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'

- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
sccache: 'true'

- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist

storage:
name: Storage info

runs-on: ubuntu-latest
needs: [linux, windows, macos]

steps:
- name: df -h
run: df -h

- name: du -h
run: du -h
sdist:
name: Source distribution

runs-on: ubuntu-latest
needs: [storage]

steps:
- name: Check out repository
Expand Down

0 comments on commit 71ed270

Please sign in to comment.