@@ -21,10 +21,10 @@ jobs:
2121 runs-on : ubuntu-latest
2222 steps :
2323 - name : Checkout repository
24- uses : actions/checkout@v4
24+ uses : actions/checkout@v6
2525
2626 - name : Set up Python
27- uses : actions/setup-python@v5
27+ uses : actions/setup-python@v6
2828 with :
2929 python-version : " 3.10"
3030
@@ -50,29 +50,27 @@ jobs:
5050 build-wheel :
5151 name : Build wheel (Linux x86_64, Python ${{ matrix.python-version }})
5252 runs-on : ubuntu-latest
53+ container :
54+ image : nvidia/cuda:13.0.2-base-ubuntu24.04
5355 strategy :
5456 fail-fast : false
5557 matrix :
5658 python-version : ["3.10"]
5759 steps :
5860 - name : Checkout repository
59- uses : actions/checkout@v4
61+ uses : actions/checkout@v6
6062
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
63+ - name : Install Python
6764 run : |
68- python -m pip install --upgrade pip
69- pip install build wheel setuptools
65+ apt-get update
66+ apt-get install -y python${{ matrix.python-version }} python${{ matrix.python-version }}-venv python3-pip
67+ python${{ matrix.python-version }} -m pip install --upgrade pip build wheel setuptools
7068
7169 - name : Build wheel
72- run : python -m build --wheel --outdir dist/
70+ run : python${{ matrix.python-version }} -m build --wheel --outdir dist/
7371
7472 - name : Upload wheel artifact
75- uses : actions/upload-artifact@v4
73+ uses : actions/upload-artifact@v5
7674 with :
7775 name : wheel-linux-x86_64-py${{ matrix.python-version }}
7876 path : dist/*.whl
0 commit comments