File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,22 @@ jobs:
4545 install : >-
4646 mingw-w64-x86_64-gcc
4747 mingw-w64-x86_64-python-pip
48+ mingw-w64-x86_64-python-wheel
4849
4950 - uses : actions/checkout@v2
5051
52+ - name : Install pybind11
53+ # This is required because --no-build-isolation disable dependences
54+ # installation
55+ run : pip install pybind11
56+
5157 - name : Build and install
52- run : pip install .
58+ # --no-build-isolation is required because the vanilla setuptool does not
59+ # support Mingw64.See patches here:
60+ # https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-python-setuptools
61+ # Without those patches build_ext fails with:
62+ # error: --plat-name must be one of ('win32', 'win-amd64', 'win-arm32', 'win-arm64')
63+ run : pip install --no-build-isolation .
5364
5465 - name : Test
5566 run : python tests/test.py
You can’t perform that action at this time.
0 commit comments