@@ -106,8 +106,11 @@ jobs:
106
106
# manually so that both x86 and arm builds can be built.
107
107
run : |
108
108
brew install coreutils
109
- brew install libomp
110
- sh add_arm_to_libomp_dylib.sh
109
+ if [[ ${{ matrix.cibw_archs }} == "arm64" ]] ; then
110
+ echo "Building universal libomp manually"
111
+ brew install libomp
112
+ sh add_arm_to_libomp_dylib.sh
113
+ fi
111
114
112
115
- name : Build Wheels
113
116
env :
@@ -127,7 +130,7 @@ jobs:
127
130
CIBW_ENVIRONMENT_MACOS : BREW_LIBOMP="1" SUITESPARSE_MACOS_ARCH=${{ matrix.cibw_archs }}
128
131
129
132
# Uncomment to only build CPython wheels
130
- # CIBW_BUILD: "cp*"
133
+ # CIBW_BUILD: "cp*"
131
134
132
135
# Architectures to build specified in matrix
133
136
CIBW_ARCHS : ${{ matrix.cibw_archs }}
@@ -151,7 +154,9 @@ jobs:
151
154
CIBW_TEST_COMMAND : " pytest --pyargs suitesparse_graphblas -s -k test_print_jit_config && pytest -v --pyargs suitesparse_graphblas"
152
155
153
156
# GitHub Actions macOS Intel runner cannot run ARM tests. Uncomment to silence warning.
154
- # CIBW_TEST_SKIP: "*-macosx_arm64"
157
+ # CIBW_TEST_SKIP: "*-macosx_arm64"
158
+ # XXX: tests are failing for macos_x86_64; let's see if we can figure out what's wrong by releasing a broken package... (sorry!)
159
+ # CIBW_TEST_SKIP: "*-macosx_*"
155
160
156
161
run : |
157
162
python -m pip install --upgrade pip
@@ -181,7 +186,7 @@ jobs:
181
186
needs : [build_wheels, build_sdist]
182
187
runs-on : ubuntu-latest
183
188
if : github.repository == 'GraphBLAS/python-suitesparse-graphblas'
184
- # if: github.event_name == 'release' && github.event.action == 'published'
189
+ # if: github.event_name == 'release' && github.event.action == 'published'
185
190
186
191
steps :
187
192
- uses : actions/setup-python@v4
@@ -202,5 +207,5 @@ jobs:
202
207
password : ${{ secrets.PYPI_TOKEN }}
203
208
204
209
# Test PyPI:
205
- # password: ${{ secrets.TEST_PYPI_API_TOKEN }}
206
- # repository_url: https://test.pypi.org/legacy/
210
+ # password: ${{ secrets.TEST_PYPI_API_TOKEN }}
211
+ # repository_url: https://test.pypi.org/legacy/
0 commit comments