|
34 | 34 | uses: actions/upload-artifact@v2 |
35 | 35 | with: |
36 | 36 | name: linux-wheels |
37 | | - path: python/wheelhouse/finufft*manylinux*.whl |
| 37 | + path: python/finufft/wheelhouse/finufft*manylinux*.whl |
38 | 38 |
|
39 | 39 | MacOS: |
40 | 40 | runs-on: macos-latest |
|
60 | 60 | # hack to make libquadmath link statically |
61 | 61 | sudo rm /usr/local/opt/gcc@11/lib/gcc/11/libquadmath.*dylib |
62 | 62 |
|
63 | | - - name: Cache macOS Python binaries |
64 | | - id: cache-python |
65 | | - uses: actions/cache@v3 |
66 | | - with: |
67 | | - path: | |
68 | | - /Library/Frameworks/Python.framework/Versions/3.6 |
69 | | - /Library/Frameworks/Python.framework/Versions/3.7 |
70 | | - /Library/Frameworks/Python.framework/Versions/3.8 |
71 | | - /Library/Frameworks/Python.framework/Versions/3.9 |
72 | | - /Library/Frameworks/Python.framework/Versions/3.10 |
73 | | - /Library/Frameworks/Python.framework/Versions/3.11 |
74 | | - key: macos-python-3.6.8-macosx10.9-python3.7.9-macosx10.9-python3.8.3-macosx10.9-python3.9.7-macos11-python3.10.1-macos11-python3.11.0-macos11 |
75 | | - |
76 | 63 | # Download and install Python instead of using the setup_python |
77 | 64 | # as the python interpreters in the Github machines |
78 | 65 | # were compiled in 10.14, the wheels built with them |
@@ -138,30 +125,30 @@ jobs: |
138 | 125 | PYTHON_BIN=/Library/Frameworks/Python.framework/Versions/3.11/bin/ |
139 | 126 | $PYTHON_BIN/python3 -m pip install delocate |
140 | 127 | ls wheelhouse/finufft*.whl | xargs -n1 $PYTHON_BIN/delocate-wheel -w fixed_wheel/ |
141 | | - /Library/Frameworks/Python.framework/Versions/3.6/bin/python3 -m pip install finufft -f fixed_wheel/ |
| 128 | + /Library/Frameworks/Python.framework/Versions/3.6/bin/python3 -m pip install --pre finufft -f fixed_wheel/ |
142 | 129 | /Library/Frameworks/Python.framework/Versions/3.6/bin/python3 test/run_accuracy_tests.py |
143 | 130 | /Library/Frameworks/Python.framework/Versions/3.6/bin/python3 examples/simple1d1.py |
144 | | - /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -m pip install finufft -f fixed_wheel/ |
| 131 | + /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -m pip install --pre finufft -f fixed_wheel/ |
145 | 132 | /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 test/run_accuracy_tests.py |
146 | 133 | /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 examples/simple1d1.py |
147 | | - /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 -m pip install finufft -f fixed_wheel/ |
| 134 | + /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 -m pip install --pre finufft -f fixed_wheel/ |
148 | 135 | /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 test/run_accuracy_tests.py |
149 | 136 | /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 examples/simple1d1.py |
150 | | - /Library/Frameworks/Python.framework/Versions/3.9/bin/python3 -m pip install finufft -f fixed_wheel/ |
| 137 | + /Library/Frameworks/Python.framework/Versions/3.9/bin/python3 -m pip install --pre finufft -f fixed_wheel/ |
151 | 138 | /Library/Frameworks/Python.framework/Versions/3.9/bin/python3 test/run_accuracy_tests.py |
152 | 139 | /Library/Frameworks/Python.framework/Versions/3.9/bin/python3 examples/simple1d1.py |
153 | | - /Library/Frameworks/Python.framework/Versions/3.10/bin/python3 -m pip install finufft -f fixed_wheel/ |
| 140 | + /Library/Frameworks/Python.framework/Versions/3.10/bin/python3 -m pip install --pre finufft -f fixed_wheel/ |
154 | 141 | /Library/Frameworks/Python.framework/Versions/3.10/bin/python3 test/run_accuracy_tests.py |
155 | 142 | /Library/Frameworks/Python.framework/Versions/3.10/bin/python3 examples/simple1d1.py |
156 | | - /Library/Frameworks/Python.framework/Versions/3.11/bin/python3 -m pip install finufft -f fixed_wheel/ |
| 143 | + /Library/Frameworks/Python.framework/Versions/3.11/bin/python3 -m pip install --pre finufft -f fixed_wheel/ |
157 | 144 | /Library/Frameworks/Python.framework/Versions/3.11/bin/python3 test/run_accuracy_tests.py |
158 | 145 | /Library/Frameworks/Python.framework/Versions/3.11/bin/python3 examples/simple1d1.py |
159 | 146 |
|
160 | 147 | - name: Upload wheels |
161 | 148 | uses: actions/upload-artifact@v2 |
162 | 149 | with: |
163 | 150 | name: macos-wheels |
164 | | - path: python/fixed_wheel/*.whl |
| 151 | + path: python/finufft/fixed_wheel/*.whl |
165 | 152 |
|
166 | 153 | Windows: |
167 | 154 | runs-on: windows-latest |
|
0 commit comments