diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 8bb3160..450973e 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -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 @@ -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/cibuildwheel@v1.12.0 - 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/cibuildwheel@v1.12.0 - 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