add docu and fix github workflow pypi-deploy.yml for installing libiconv

This commit is contained in:
Mario Fink 2023-08-07 22:50:00 +02:00
parent ecbae3f79b
commit 887d5db635
2 changed files with 11 additions and 9 deletions

View File

@ -40,16 +40,15 @@ jobs:
with:
name: wheel-config
path: python/
- name: Install iconv for Windows
- name: Get vcpkg repo
if: matrix.os == 'windows-2019'
steps:
- name: Get vcpkg repo
run: git clone https://github.com/Microsoft/vcpkg.git
- name: Install vcpkg
run: .\vcpkg\bootstrap-vcpkg.bat
working-directory: vcpkg/
- name: Install required package libiconv
run: vcpkg install libiconv
run: git clone https://github.com/Microsoft/vcpkg.git
- name: Build and install vcpkg and install libiconv for windows
if: matrix.os == 'windows-2019'
run: |
.\vcpkg\bootstrap-vcpkg.bat
vcpkg install libiconv
working-directory: vcpkg/
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
working-directory: python/

View File

@ -233,3 +233,6 @@ can be found in the `python/examples` folder.
- https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- https://github.com/pypa/cibuildwheel/blob/main/examples/github-deploy.yml
- https://cibuildwheel.readthedocs.io/en/stable/deliver-to-pypi/
- https://www.gnu.org/software/libiconv/
- https://vcpkg.io/en/packages.html
- https://vcpkg.io/en/getting-started