File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 4646
4747 - name : Check inline samples are up to date
4848 run : python test/tools/inline_samples.py --check
49+
50+ build-wheel :
51+ name : Build wheel (Linux x86_64, Python ${{ matrix.python-version }})
52+ runs-on : ubuntu-latest
53+ strategy :
54+ fail-fast : false
55+ matrix :
56+ python-version : ["3.10"]
57+ steps :
58+ - name : Checkout repository
59+ uses : actions/checkout@v4
60+
61+ - name : Set up Python ${{ matrix.python-version }}
62+ uses : actions/setup-python@v5
63+ with :
64+ python-version : ${{ matrix.python-version }}
65+
66+ - name : Install build dependencies
67+ run : |
68+ python -m pip install --upgrade pip
69+ pip install build wheel setuptools
70+
71+ - name : Build wheel
72+ run : python -m build --wheel --outdir dist/
73+
74+ - name : Upload wheel artifact
75+ uses : actions/upload-artifact@v4
76+ with :
77+ name : wheel-linux-x86_64-py${{ matrix.python-version }}
78+ path : dist/*.whl
79+ retention-days : 7
You can’t perform that action at this time.
0 commit comments