File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 8484 python -m pip install --upgrade build
8585 python -m build --wheel
8686
87+ - name : Rename wheels from universal2 to x86_64
88+ run : |
89+ # Rename universal2 wheels to x86_64 since they aren't truly universal
90+ for wheel in dist/*-universal2.whl; do
91+ if [ -f "$wheel" ]; then
92+ new_wheel=$(echo "$wheel" | sed 's/universal2/x86_64/')
93+ echo "Renaming: $(basename "$wheel") -> $(basename "$new_wheel")"
94+ mv "$wheel" "$new_wheel"
95+ fi
96+ done
97+ shell : bash
98+
8799 - name : Test
88100 run : |
89101 pip3 install dist/*.whl
@@ -191,6 +203,8 @@ jobs:
191203 - name : Test
192204 run : |
193205 ${{ matrix.python-version }} -m pip install --no-deps wheelhouse/*-py3-none-linux_x86_64.whl
206+ # Clean up test wheels
207+ rm -f wheelhouse/*-py3-none-linux_x86_64.whl
194208 cd /
195209 ${{ matrix.python-version }} -c 'import pyray; pyray.init_window(100,100,"test")' >/tmp/output 2>&1 || true
196210 cat /tmp/output
@@ -200,8 +214,6 @@ jobs:
200214 echo "Failed"
201215 exit 1
202216 fi
203- # Clean up test wheels
204- rm -f wheelhouse/*-py3-none-linux_x86_64.whl
205217
206218
207219 - name : Upload build Artifact wheel
You can’t perform that action at this time.
0 commit comments