diff options
author | Jens Vagelpohl <jens@plyp.com> | 2022-11-07 12:29:08 +0100 |
---|---|---|
committer | Jens Vagelpohl <jens@plyp.com> | 2022-11-07 12:29:08 +0100 |
commit | 248c2be75e610e70c1cd05a9370b6f552ba5f0af (patch) | |
tree | 84cb428075848c3ca4368c6414718e0d52eaa690 /.github | |
parent | 7fcdc0c6cef6f680d63929778af0a5aa5831697e (diff) | |
download | zope-security-248c2be75e610e70c1cd05a9370b6f552ba5f0af.tar.gz |
- utilize flags for macOS similar to those used by cibuildwheel
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/tests.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 90a088b..8dc4e01 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -154,12 +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+ on MacOS) if: > startsWith(runner.os, 'Mac') - && startsWith(matrix.python-version, '3.10') + && startsWith(matrix.python-version, '3.1') env: - _PYTHON_HOST_PLATFORM: macosx-11-x86_64 + _PYTHON_HOST_PLATFORM: macosx-10.9-universal2 + ARCHFLAGS: -arch arm64 -arch 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). @@ -172,7 +173,7 @@ jobs: - name: Build zope.security (all other versions) if: > !startsWith(runner.os, 'Mac') - || !startsWith(matrix.python-version, '3.10') + || !startsWith(matrix.python-version, '3.1') 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). |