Skip to content

Commit

Permalink
Try removing old wheels.
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-boyd committed Jan 13, 2024
1 parent a7d0ca6 commit 80b860c
Showing 1 changed file with 1 addition and 84 deletions.
85 changes: 1 addition & 84 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macos-11]
os: [ubuntu-20.04, windows-2019, macos-12]
arch: ["x86_64", "arm64"]
include:
- os: windows-2019
Expand Down Expand Up @@ -50,89 +50,6 @@ jobs:
path: wheelhouse/*.whl
if-no-files-found: error

wheels-old:
name: Build old wheels on ${{ matrix.os }} for ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macos-11]
arch: ["x86_64"]
include:
- os: windows-2019
arch: win_amd64
- os: windows-2019
arch: win32
- os: ubuntu-20.04
arch: i686
- os: ubuntu-20.04
arch: aarch64
- os: ubuntu-20.04
arch: ppc64le
- os: ubuntu-20.04
arch: s390x
exclude:
- os: windows-2019
arch: "x86_64"
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v2
with:
platforms: all
- name: Build and test wheels
uses: pypa/[email protected]
env:
CIBW_ARCHS: all
CIBW_BUILD_VERBOSITY: 3
CIBW_BUILD: "*${{ matrix.arch }}"
CIBW_SKIP: cp36-* cp37-* cp38-* cp39-* pp37-* pp*-macosx* cp35-macosx_x86_64
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: pytest {package}/tests
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: ${{ runner.os }}-${{ matrix.arch }}
path: wheelhouse/*.whl
if-no-files-found: error

wheels-win27:
name: Build Python 2.7 wheels on Windows ${{ matrix.arch }}
runs-on: windows-2019
strategy:
fail-fast: false
matrix:
arch: ["amd64", "win32"]
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Prepare compiler environment for Windows
if: runner.os == 'Windows'
uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.arch }}
- name: Set Windows environment variables
if: runner.os == 'Windows'
shell: bash
run: |
echo "DISTUTILS_USE_SDK=1" >> $GITHUB_ENV
echo "MSSdk=1" >> $GITHUB_ENV
- name: Build and test wheels
uses: pypa/[email protected]
env:
CIBW_BUILD_VERBOSITY: 3
CIBW_BUILD: "*27*${{ matrix.arch }}"
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: pytest {package}/tests
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: ${{ runner.os }}-${{ matrix.arch }}
path: wheelhouse/*.whl
if-no-files-found: error

sdist:
name: Build sdist
runs-on: ubuntu-latest
Expand Down

0 comments on commit 80b860c

Please sign in to comment.