2323 - macos-15-intel
2424 python-version :
2525 - ' 3.11'
26+ - ' 3.12'
27+ - ' 3.13'
2628
2729 runs-on : ${{ matrix.os }}
2830
@@ -41,15 +43,78 @@ jobs:
4143 run : |
4244 python -m pip install --upgrade pip
4345 python -m pip install setuptools wheel build cython
46+ python -m pip install auditwheel
4447 python -m pip install flake8 mypy pytest
4548
4649 - name : Build wheel and source tarball
4750 run : |
4851 python -m build
52+ auditwheel repair dist/softfloatpy-*.whl
4953
5054 - name : Install built wheel
5155 run : |
52- python -m pip install dist/softfloatpy-*.whl
56+ python -m pip install wheelhouse/softfloatpy-*.whl
57+
58+ - name : Check coding style with flake8
59+ run : |
60+ python -m flake8 --doctests ./python
61+
62+ - name : Check data types with mypy
63+ run : |
64+ python -m mypy --strict ./python
65+
66+ - name : Test code with pytest
67+ run : |
68+ python -m pytest ./python --doctest-modules
69+
70+ test-on-windows :
71+ name : Test on Windows
72+
73+ strategy :
74+ matrix :
75+ os :
76+ - windows-2025
77+ python-version :
78+ - ' 3.11'
79+ - ' 3.12'
80+ - ' 3.13'
81+
82+ runs-on : ${{ matrix.os }}
83+
84+ steps :
85+ - name : Checkout code
86+ uses : actions/checkout@v6
87+ with :
88+ submodules : recursive
89+
90+ - name : Set up Python
91+ uses : actions/setup-python@v6
92+ with :
93+ python-version : ${{ matrix.python-version }}
94+
95+ - name : Install dependencies
96+ run : |
97+ python -m pip install --upgrade pip
98+ python -m pip install setuptools wheel build cython
99+ python -m pip install auditwheel
100+ python -m pip install flake8 mypy pytest
101+
102+ - name : Setup MSYS2 environment
103+ uses : msys2/setup-msys2@v2
104+ with :
105+ msystem : ucrt64
106+ update : true
107+ install : mingw-w64-ucrt-x86_64-gcc
108+
109+ - name : Build wheel and source tarball
110+ shell : msys2 {0}
111+ run : |
112+ python -m build
113+ auditwheel repair dist/softfloatpy-*.whl
114+
115+ - name : Install built wheel
116+ run : |
117+ python -m pip install wheelhouse/softfloatpy-*.whl
53118
54119 - name : Check coding style with flake8
55120 run : |
0 commit comments