summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Vagelpohl <jens@plyp.com>2022-11-08 11:00:09 +0100
committerJens Vagelpohl <jens@plyp.com>2022-11-08 11:00:09 +0100
commitb08fc65a6fe465f5748a34bb81d4be69c0486810 (patch)
tree0ea8d1b0c34c5ac173170dc51d00f274a6e2db33
parent2a1b614cb1640645198106ab5062a3dd2e313edb (diff)
downloadzope-security-b08fc65a6fe465f5748a34bb81d4be69c0486810.tar.gz
- update with meta/config to fix macOS build issues5.5
-rw-r--r--.github/workflows/tests.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 4b8941d..97faf3c 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -154,14 +154,13 @@ jobs:
pip install -U pip
pip install -U setuptools wheel twine cffi
- - name: Build zope.security (Python 3.10+ on MacOS)
+ - name: Build zope.security (Python 3.10 and 3.11 on MacOS)
if: >
startsWith(runner.os, 'Mac')
- && startsWith(matrix.python-version, '3.1')
+ && (startsWith(matrix.python-version, '3.10')
+ || startsWith(matrix.python-version, '3.11'))
env:
- MACOSX_DEPLOYMENT_TARGET: 10.9
- _PYTHON_HOST_PLATFORM: macosx-10.9-universal2
- ARCHFLAGS: -arch arm64 -arch x86_64
+ _PYTHON_HOST_PLATFORM: macosx-11-x86_64
run: |
# Next, build the wheel *in place*. This helps ccache, and also lets us cache the configure
# output (pip install uses a random temporary directory, making this difficult).
@@ -174,7 +173,8 @@ jobs:
- name: Build zope.security (all other versions)
if: >
!startsWith(runner.os, 'Mac')
- || !startsWith(matrix.python-version, '3.1')
+ || !(startsWith(matrix.python-version, '3.10')
+ || startsWith(matrix.python-version, '3.11'))
run: |
# Next, build the wheel *in place*. This helps ccache, and also lets us cache the configure
# output (pip install uses a random temporary directory, making this difficult).