Skip to content

Commit

Permalink
Merge pull request #524 from ErlendHaa/wheels
Browse files Browse the repository at this point in the history
Update wheel-building and version
  • Loading branch information
ErlendHaa authored Feb 18, 2022
2 parents a98c2bc + b5adb1d commit 507855c
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 3 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,29 @@ jobs:
CIBW_ENVIRONMENT_WINDOWS: CMAKE_GENERATOR="${{ matrix.cmake-generator }}"
CIBW_ARCHS_WINDOWS: ${{ matrix.cibw-arch }}
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
CIBW_SKIP: pp*
CIBW_SKIP: pp* *-musllinux_*
COMSPEC: C:\Program Files\PowerShell\7\pwsh.EXE
run: |
python -m cibuildwheel --output-dir wheelhouse python/
- uses: actions/upload-artifact@v2
with:
path: ./wheelhouse/*.whl

publish:
needs: wheels
name: Publish wheels to PyPI
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/checkout@v2

- uses: actions/download-artifact@v2

- name: Publish wheels to PyPI

uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: artifact
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ install:
setuptools-scm
pytest
pytest-runner
scikit-build
scikit-build==0.11.0

before_build:
- IF DEFINED PYTHON SET LANG=%LANG% -DPYTHON_EXECUTABLE=%PYTHON%\python
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.9.9
* Packaging updates

# 1.9.8
* Packaging updates

# 1.9.7
* Packaging updates

Expand Down
3 changes: 3 additions & 0 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,8 @@ before-build = [
""",
]

[tool.cibuildwheel.linux]
manylinux-x86_64-image = "manylinux2010"

[tool.cibuildwheel.macos]
environment = { CXXFLAGS="-L/usr/local/lib" }
2 changes: 1 addition & 1 deletion python/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[metadata]
version = 1.9.7
version = 1.9.9

[aliases]
test=pytest
Expand Down

0 comments on commit 507855c

Please sign in to comment.