Skip to content

Commit 6b70832

Browse files
committed
Try installing python with uv on old linux
Signed-off-by: Gary Oberbrunner <[email protected]>
1 parent def1e35 commit 6b70832

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,20 @@ jobs:
193193
194194
- name: Set up python 3.11
195195
uses: actions/setup-python@v5
196-
if: matrix.ostype == 'mac' || matrix.release_prefix == 'linux-vfx2021'
196+
if: matrix.ostype == 'mac'
197197
with:
198198
python-version: '3.11'
199199

200+
- name: Set up python 3.11 with `uv`
201+
if: matrix.release_prefix == 'linux-vfx2021'
202+
run: |
203+
curl -LsSf https://astral.sh/uv/install.sh | sh
204+
uv venv /opt/venv --python 3.11
205+
# add to PATH
206+
PATH=$PATH:/opt/venv/bin
207+
echo "/opt/venv/bin" >> $GITHUB_PATH
208+
which python
209+
200210
- name: Install Conan
201211
id: conan
202212
uses: turtlebrowser/get-conan@main

0 commit comments

Comments
 (0)