Skip to content

Commit 507855c

Browse files
authored
Merge pull request #524 from ErlendHaa/wheels
Update wheel-building and version
2 parents a98c2bc + b5adb1d commit 507855c

File tree

5 files changed

+30
-3
lines changed

5 files changed

+30
-3
lines changed

.github/workflows/wheels.yaml

+19-1
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,29 @@ jobs:
3838
CIBW_ENVIRONMENT_WINDOWS: CMAKE_GENERATOR="${{ matrix.cmake-generator }}"
3939
CIBW_ARCHS_WINDOWS: ${{ matrix.cibw-arch }}
4040
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
41-
CIBW_SKIP: pp*
41+
CIBW_SKIP: pp* *-musllinux_*
4242
COMSPEC: C:\Program Files\PowerShell\7\pwsh.EXE
4343
run: |
4444
python -m cibuildwheel --output-dir wheelhouse python/
4545
4646
- uses: actions/upload-artifact@v2
4747
with:
4848
path: ./wheelhouse/*.whl
49+
50+
publish:
51+
needs: wheels
52+
name: Publish wheels to PyPI
53+
runs-on: ubuntu-latest
54+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
55+
steps:
56+
- uses: actions/checkout@v2
57+
58+
- uses: actions/download-artifact@v2
59+
60+
- name: Publish wheels to PyPI
61+
62+
uses: pypa/gh-action-pypi-publish@release/v1
63+
with:
64+
user: __token__
65+
password: ${{ secrets.PYPI_API_TOKEN }}
66+
packages_dir: artifact

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ install:
4545
setuptools-scm
4646
pytest
4747
pytest-runner
48-
scikit-build
48+
scikit-build==0.11.0
4949

5050
before_build:
5151
- IF DEFINED PYTHON SET LANG=%LANG% -DPYTHON_EXECUTABLE=%PYTHON%\python

changelog.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 1.9.9
2+
* Packaging updates
3+
4+
# 1.9.8
5+
* Packaging updates
6+
17
# 1.9.7
28
* Packaging updates
39

python/pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,8 @@ before-build = [
3838
""",
3939
]
4040

41+
[tool.cibuildwheel.linux]
42+
manylinux-x86_64-image = "manylinux2010"
43+
4144
[tool.cibuildwheel.macos]
4245
environment = { CXXFLAGS="-L/usr/local/lib" }

python/setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[metadata]
2-
version = 1.9.7
2+
version = 1.9.9
33

44
[aliases]
55
test=pytest

0 commit comments

Comments
 (0)