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 @@ -21,11 +21,22 @@ jobs:
2121 install : >-
2222 mingw-w64-x86_64-gcc
2323 mingw-w64-x86_64-python-pip
24+ mingw-w64-x86_64-python-wheel
2425
2526 - uses : actions/checkout@v2
2627
28+ - name : Install pybind11
29+ # This is required because --no-build-isolation disable dependences
30+ # installation
31+ run : pip install pybind11
32+
2733 - name : Build and install
28- run : pip install .
34+ # --no-build-isolation is required because the vanilla setuptool does not
35+ # support Mingw64.See patches here:
36+ # https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-python-setuptools
37+ # Without those patches build_ext fails with:
38+ # error: --plat-name must be one of ('win32', 'win-amd64', 'win-arm32', 'win-arm64')
39+ run : pip install --no-build-isolation .
2940
3041 - name : Test
3142 run : python tests/test.py
You can’t perform that action at this time.
0 commit comments