Fix macos wheels
This commit is contained in:
parent
08e14abf70
commit
d645848fd3
8
.github/workflows/PyPI-publishing.yml
vendored
8
.github/workflows/PyPI-publishing.yml
vendored
@ -60,15 +60,15 @@ jobs:
|
|||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
os: macos-12,
|
os: macos-12,
|
||||||
arch: x64,
|
arch: x86_64,
|
||||||
python-ver: '3.8',
|
python-ver: '3.8',
|
||||||
name: 'macos_x86_64'
|
name: 'macos_x86_64'
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
os: macos-14,
|
os: macos-14,
|
||||||
arch: aarch64,
|
arch: arm64,
|
||||||
python-ver: '3.10',
|
python-ver: '3.10',
|
||||||
name: 'macos_aarch64'
|
name: 'macos_arm64'
|
||||||
}
|
}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -132,7 +132,7 @@ jobs:
|
|||||||
elif [ ${{ matrix.config.name }} == 'sdist' ]; then
|
elif [ ${{ matrix.config.name }} == 'sdist' ]; then
|
||||||
cd bindings/python && python setup.py sdist
|
cd bindings/python && python setup.py sdist
|
||||||
else
|
else
|
||||||
cd bindings/python && python setup.py bdist_wheel
|
cd bindings/python && ARCHFLAGS="-arch ${{ matrix.config.arch }}" python setup.py bdist_wheel
|
||||||
fi
|
fi
|
||||||
- name: '📤 Upload artifact'
|
- name: '📤 Upload artifact'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
Loading…
Reference in New Issue
Block a user