Skip to content

Commit

Permalink
Explicitly set MacOS arch vs universal2.
Browse files Browse the repository at this point in the history
Note: this is to get around issues encountered on CI
using delocate-wheel which is failing.
  • Loading branch information
Michael O'Keefe authored and Michael O'Keefe committed Nov 22, 2024
1 parent 706178f commit 8dace69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
# TODO: why doesn't pytest work with cibuildwheel?
# CIBW_TEST_COMMAND: "pytest -v {project}/python/fastsim/tests"
CIBW_TEST_COMMAND: "python -m unittest discover {project}/python/fastsim/tests"
CIBW_ARCHS_MACOS: "universal2"
CIBW_ARCHS_MACOS: "${{ matrix.os.arch }}"
# see https://cibuildwheel.readthedocs.io/en/stable/faq/#universal2
CIBW_TEST_SKIP: "*_universal2:arm64"
CIBW_ENVIRONMENT: 'PATH="$HOME/.cargo/bin:$PATH"'
Expand Down

0 comments on commit 8dace69

Please sign in to comment.