88 runs-on : ubuntu-latest
99 steps :
1010 - name : Checkout
11- uses : actions/checkout@v2
11+ uses : actions/checkout@v5
1212 - name : Set Swap Space
1313 uses : pierotofy/set-swap-space@master
1414 with :
3232 # - amd64
3333 # steps:
3434 # - name: Checkout
35- # uses: actions/checkout@v2
35+ # uses: actions/checkout@v5
3636 # - name: Set Swap Space
3737 # uses: pierotofy/set-swap-space@master
3838 # with:
@@ -52,11 +52,11 @@ jobs:
5252 runs-on : windows-2022
5353 steps :
5454 - name : Checkout
55- uses : actions/checkout@v2
55+ uses : actions/checkout@v5
5656 - name : Setup Python
57- uses : actions/setup-python@v2
57+ uses : actions/setup-python@v5
5858 with :
59- python-version : ' 3.12.10 '
59+ python-version-file : " pyproject.toml "
6060 architecture : ' x64'
6161 - uses : Jimver/cuda-toolkit@v0.2.24
6262 id : cuda-toolkit
@@ -66,20 +66,21 @@ jobs:
6666 uses : jwlawson/actions-setup-cmake@v1.13
6767 with :
6868 cmake-version : ' 3.24.x'
69- - name : Install venv
70- run : |
71- python -m pip install virtualenv
69+ - name : Install uv
70+ uses : astral-sh/setup-uv@v6
71+ with :
72+ version : " 0.9.5"
7273 - name : Build sources
7374 run : |
74- python configure.py build
75+ uv run configure.py build
7576 - name : Free up space
7677 run : |
7778 rmdir SuperBuild\download /s /q
7879 rmdir SuperBuild\build /s /q
7980 shell : cmd
8081 - name : Create setup
8182 run : |
82- python configure.py dist
83+ uv run configure.py dist
8384 - name : Upload Setup File
8485 uses : actions/upload-artifact@v4
8586 with :
0 commit comments