File tree Expand file tree Collapse file tree 6 files changed +23
-9
lines changed
Expand file tree Collapse file tree 6 files changed +23
-9
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,11 @@ jobs:
1414 os :
1515 - ubuntu-24.04
1616 - ubuntu-24.04-arm
17- - macos-15
1817 - macos-15-intel
1918 python-version :
2019 - ' 3.11'
20+ - ' 3.12'
21+ - ' 3.13'
2122
2223 runs-on : ${{ matrix.os }}
2324
@@ -36,16 +37,18 @@ jobs:
3637 run : |
3738 python -m pip install --upgrade pip
3839 python -m pip install setuptools wheel build cython
40+ python -m pip install auditwheel
3941
4042 - name : Build wheel and source tarball
4143 run : |
4244 python -m build
45+ auditwheel repair dist/softfloatpy-*.whl
4346
4447 - name : Store distribution
4548 uses : actions/upload-artifact@v6
4649 with :
4750 name : python-${{ matrix.python-version }}-package-for-${{ matrix.os }}
48- path : dist /
51+ path : wheelhouse /
4952 retention-days : 1
5053
5154 pypi :
7376
7477 - name : Publish distribution to PyPI
7578 uses : pypa/gh-action-pypi-publish@release/v1
79+ with :
80+ verbose : true
7681
7782 github-release :
7883 needs :
Original file line number Diff line number Diff line change 2323 - macos-15-intel
2424 python-version :
2525 - ' 3.11'
26+ - ' 3.12'
27+ - ' 3.13'
2628
2729 runs-on : ${{ matrix.os }}
2830
Original file line number Diff line number Diff line change @@ -14,10 +14,11 @@ jobs:
1414 os :
1515 - ubuntu-24.04
1616 - ubuntu-24.04-arm
17- - macos-15
1817 - macos-15-intel
1918 python-version :
2019 - ' 3.11'
20+ - ' 3.12'
21+ - ' 3.13'
2122
2223 runs-on : ${{ matrix.os }}
2324
@@ -36,16 +37,18 @@ jobs:
3637 run : |
3738 python -m pip install --upgrade pip
3839 python -m pip install setuptools wheel build cython
40+ python -m pip install auditwheel
3941
4042 - name : Build wheel and source tarball
4143 run : |
4244 python -m build
45+ auditwheel repair dist/softfloatpy-*.whl
4346
4447 - name : Store distribution
4548 uses : actions/upload-artifact@v6
4649 with :
4750 name : python-${{ matrix.python-version }}-package-for-${{ matrix.os }}
48- path : dist /
51+ path : wheelhouse /
4952 retention-days : 1
5053
5154 testpypi :
7578 uses : pypa/gh-action-pypi-publish@release/v1
7679 with :
7780 repository-url : https://test.pypi.org/legacy/
81+ verbose : true
Original file line number Diff line number Diff line change 11/dist /
2+ /wheelhouse /
23__pycache__ /
34.pytest_cache /
45.mypy_cache /
Original file line number Diff line number Diff line change @@ -11,26 +11,27 @@ all: lint type test dist doc
1111
1212req :
1313 $(PYTHON ) -m pip install --quiet --upgrade pip
14- $(PYTHON ) -m pip install --quiet setuptools wheel build cython pytest mypy flake8 sphinx sphinx-rtd-theme myst-parser
14+ $(PYTHON ) -m pip install --quiet setuptools wheel build cython auditwheel pytest mypy flake8 sphinx sphinx-rtd-theme myst-parser
1515
1616lint :
1717 $(PYTHON ) -m flake8 --doctests $(PYROOTDIR )
1818
1919type :
20- $(PYTHON ) -m pip install --quiet --force-reinstall ./dist/ * .whl
20+ $(PYTHON ) -m pip install --quiet --force-reinstall ./wheelhouse/softfloatpy- * .whl
2121 $(PYTHON ) -m mypy --strict $(PYROOTDIR )
2222
2323test :
24- $(PYTHON ) -m pip install --quiet --force-reinstall ./dist/ * .whl
24+ $(PYTHON ) -m pip install --quiet --force-reinstall ./wheelhouse/softfloatpy- * .whl
2525 $(PYTHON ) -m pytest $(PYROOTDIR ) -vv --doctest-modules
2626
2727dist :
2828 $(PYTHON ) -m build
29+ auditwheel repair dist/softfloatpy-* .whl
2930
3031doc :
31- $(PYTHON ) -m pip install --quiet --force-reinstall ./dist/ * .whl
32+ $(PYTHON ) -m pip install --quiet --force-reinstall ./wheelhouse/softfloatpy- * .whl
3233 $(SPHINX_APIDOC ) -T -f -o $(PYDOCSRCDIR ) /apidoc $(PYROOTDIR ) /src
3334 $(SPHINX_BUILD ) -b html $(PYDOCSRCDIR ) $(PYDOCOUTDIR ) /html
3435
3536clean :
36- rm -rf $(PYDOCOUTDIR ) $(PYROOTDIR ) /src/softfloatpy.egg-info ./dist
37+ rm -rf $(PYDOCOUTDIR ) $(PYROOTDIR ) /src/softfloatpy.egg-info ./dist ./wheelhouse
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ dictionaries: []
55words :
66 - apidoc
77 - Arihiro
8+ - auditwheel
89 - bfloat
910 - bint
1011 - bysource
You can’t perform that action at this time.
0 commit comments