fix workflow pypi-deploy.yml for installing libiconv

This commit is contained in:
Mario Fink 2023-08-07 23:03:51 +02:00
parent 887d5db635
commit 57027e234e

View File

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