Skip to content

Commit 355c9ae

Browse files
committed
venv in docker
1 parent a4463ee commit 355c9ae

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ur-build-hw.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,17 @@ jobs:
115115

116116
- name: Get information about platform
117117
if: ${{ always() }}
118-
run: ./unified-runtime/.github/scripts/get_system_info.sh
118+
run: ./unified-runtime/.github/scripts/get_system_info.sh
119+
120+
- name: Set up Python 3.10
121+
if: ${{ inputs.docker_image == 'ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps' }}
122+
uses: actions/setup-python@v5
123+
with:
124+
python-version: '3.10'
119125

120-
# TODO: move installation of python3-venv to docker
121-
# Latest distros do not allow global pip installation
122126
- name: Install UR python dependencies in venv
123127
working-directory: ./unified-runtime
124128
run: |
125-
sudo apt update
126-
sudo apt install -y python3-venv
127129
python3 -m venv .venv
128130
. .venv/bin/activate
129131
echo "${PWD}/.venv/bin" >> $GITHUB_PATH

0 commit comments

Comments
 (0)