Skip to content

Commit 9496b92

Browse files
committed
changed the test yaml build rocm file to more like actual steps
1 parent 96de341 commit 9496b92

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/build-wheels-rocm-linux.yaml

+14-4
Original file line numberDiff line numberDiff line change
@@ -153,17 +153,27 @@ jobs:
153153

154154
steps:
155155
- name: Checkout repository
156-
uses: actions/checkout@v2
156+
uses: actions/checkout@v4
157+
with:
158+
submodules: "recursive"
157159

158160
- name: Install dependencies
159161
run: |
160162
apt-get update
161163
apt-get install -y python3-pip python3-venv rocm-libs
162164
163-
- name: Set up Python environment
165+
- name: Install git on container
164166
run: |
165-
python3 -m venv /opt/venv
166-
. /opt/venv/bin/activate
167+
apt update
168+
apt install -y git
169+
170+
- name: Setup Python
171+
uses: actions/setup-python@v5
172+
continue-on-error: true
173+
id: setup-python
174+
with:
175+
python-version: ${{ matrix.pyver }}
176+
cache: "pip"
167177

168178
- name: Set ROCm environment variables
169179
run: |

0 commit comments

Comments
 (0)