Skip to content

Commit

Permalink
Merge pull request #91 from neutrinoceros/rel/test_wheels_on_macos_amd
Browse files Browse the repository at this point in the history
TST: test wheels and bump CIBW
  • Loading branch information
neutrinoceros authored Mar 12, 2024
2 parents fc94d4a + d64e649 commit adabdf7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,32 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macos-11]
os:
- ubuntu-20.04
- windows-2019
- macos-11 # x86_64
- macos-14 # arm64

fail-fast: false

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Build wheels for CPython
uses: pypa/cibuildwheel@v2.16.5
uses: pypa/cibuildwheel@v2.17.0
with:
output-dir: dist
env:
CIBW_BUILD: cp39-* cp310-* cp311-* cp312-*
CIBW_ARCHS_LINUX: x86_64
CIBW_ARCHS_MACOS: x86_64 arm64
MACOSX_DEPLOYMENT_TARGET: '10.9' # as of CIBW 2.9, this is the default value, pin it so it can't be bumped silently
CIBW_ARCHS_WINDOWS: auto64
CIBW_ENVIRONMENT: LDFLAGS='-static-libstdc++'
CIBW_BUILD_VERBOSITY: 1
CIBW_TEST_COMMAND: >
python -m pip install -r {project}/test_requirements.txt
&& pytest --pyargs ewah_bool_utils --color=yes
- uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ include ewah_bool_utils/cpp/README

recursive-include ewah_bool_utils *.pxd
recursive-include ewah_bool_utils *.pyx
recursive-include tests *
recursive-include ewah_bool_utils/tests *

exclude ewah_bool_utils/_testing.cpp
exclude ewah_bool_utils/ewah_bool_wrap.cpp
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit adabdf7

Please sign in to comment.