Skip to content

Commit

Permalink
Added Python 3.11
Browse files Browse the repository at this point in the history
Disabled failing aarch64_wheels
  • Loading branch information
arjanz committed Oct 31, 2022
1 parent bf2fe05 commit 0ecc29d
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
target: [x64, x86]
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
target: [x86_64, i686]
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
- uses: actions/checkout@v3

- name: Build wheels
uses: pypa/cibuildwheel@v2.9.0
uses: pypa/cibuildwheel@v2.11.2
with:
output-dir: dist

Expand All @@ -162,42 +162,42 @@ jobs:
name: wheels
path: dist

aarch64_wheels:
name: Build wheels for aarch64 linux
runs-on: ubuntu-latest

env:
CIBW_BUILD_VERBOSITY: 1
CIBW_BEFORE_ALL_LINUX: "curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y"
CIBW_ARCHS_LINUX: "aarch64"
CIBW_ENVIRONMENT: 'PATH="$PATH:$HOME/.cargo/bin"'
CIBW_BUILD: "*-musllinux_aarch64 *-manylinux_aarch64"
CIBW_SKIP: "cp27-* cp34-* cp35-* "

steps:
- uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: arm64

- name: Build wheels
uses: pypa/cibuildwheel@v2.9.0
with:
output-dir: dist


- uses: actions/upload-artifact@v3
with:
name: wheels
path: dist
# aarch64_wheels:
# name: Build wheels for aarch64 linux
# runs-on: ubuntu-latest
#
# env:
# CIBW_BUILD_VERBOSITY: 1
# CIBW_BEFORE_ALL_LINUX: "curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y"
# CIBW_ARCHS_LINUX: "aarch64"
# CIBW_ENVIRONMENT: 'PATH="$PATH:$HOME/.cargo/bin"'
# CIBW_BUILD: "*-musllinux_aarch64 *-manylinux_aarch64"
# CIBW_SKIP: "cp27-* cp34-* cp35-* "
#
# steps:
# - uses: actions/checkout@v3
#
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
# with:
# platforms: arm64
#
# - name: Build wheels
# uses: pypa/cibuildwheel@v2.11.2
# with:
# output-dir: dist
#
#
# - uses: actions/upload-artifact@v3
# with:
# name: wheels
# path: dist

release:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: [ macos, windows, linux, muslwheels_x86, aarch64_wheels]
needs: [ macos, windows, linux, muslwheels_x86]
steps:
- uses: actions/download-artifact@v2
with:
Expand Down

0 comments on commit 0ecc29d

Please sign in to comment.