Skip arm64 macos wheels

This commit is contained in:
mio
2025-02-13 20:42:58 +08:00
parent 2d410535f0
commit 4caee59e8e

View File

@@ -158,7 +158,10 @@ jobs:
python2 -m pip install capstone==4.0.2 wheelhouse/*py2*.whl
python2 -m unittest discover tests/regress "*.py"
# https://github.com/unicorn-engine/unicorn/issues/2033
# Skip macos arm64 wheels during release stage
- uses: actions/upload-artifact@v4
if: ${{!( startsWith(github.ref, 'refs/tags') && !startsWith(github.ref, 'refs/tags/v') && contains(matrix.os, 'macos') && contains(matrix.arch, 'arm64') )}}
with:
name: ${{ env.ARTIFACT_NAME }}
path: ./wheelhouse/*.whl
@@ -278,6 +281,7 @@ jobs:
output-dir: wheelhouse
- uses: actions/upload-artifact@v4
if: ${{!( startsWith(github.ref, 'refs/tags') && !startsWith(github.ref, 'refs/tags/v') && contains(matrix.os, 'macos') && contains(matrix.arch, 'arm64') )}}
with:
name: ${{ env.ARTIFACT_NAME }}
path: ./wheelhouse/*.whl