summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas J. Fan <thomasjpfan@gmail.com>2021-10-11 20:29:44 -0400
committerThomas J. Fan <thomasjpfan@gmail.com>2021-10-11 20:29:44 -0400
commitcafe3cfba74fb99aee9bc72cb2d4a3f299a29fc8 (patch)
treef03b27cec848997558853a85c02ad0a558e06f81
parent500d4c67f32e2220a8c00a6094ba7226e3e7b9dd (diff)
downloadnumpy-cafe3cfba74fb99aee9bc72cb2d4a3f299a29fc8.tar.gz
ENH Adds python 3.10 [cd build]
-rw-r--r--.github/workflows/wheels.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index 022d5e223..4c19bf1b6 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -48,6 +48,9 @@ jobs:
- os: ubuntu-latest
python: "39"
platform: manylinux_x86_64
+ - os: ubuntu-latest
+ python: "310"
+ platform: manylinux_x86_64
# macos builds
- os: macos-latest
@@ -56,6 +59,9 @@ jobs:
- os: macos-latest
python: "39"
platform: macosx_x86_64
+ - os: macos-latest
+ python: "310"
+ platform: macosx_x86_64
steps:
- name: Checkout numpy
@@ -78,8 +84,10 @@ jobs:
CIBW_ENVIRONMENT_MACOS: CFLAGS='-std=c99 -fno-strict-aliasing'
OPENBLAS64_=/usr/local
CIBW_BUILD_VERBOSITY: 3
- CIBW_BEFORE_BUILD: bash tools/wheels/cibw_before_build.sh {project}
+ CIBW_BEFORE_BUILD: bash {project}/tools/wheels/cibw_before_build.sh {project}
CIBW_BEFORE_TEST: pip install -r {project}/test_requirements.txt
+ # Installs libffi so that cffi can be built from source if needed
+ CIBW_BEFORE_TEST_LINUX: yum install -y libffi-devel && pip install -r {project}/test_requirements.txt
CIBW_TEST_COMMAND: bash {project}/tools/wheels/cibw_test_command.sh {project}
- uses: actions/upload-artifact@v2