Skip to content

Commit

Permalink
changed the test yaml build rocm file to more like actual steps
Browse files Browse the repository at this point in the history
  • Loading branch information
zhycheng614 committed Sep 18, 2024
1 parent 96de341 commit 9496b92
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/build-wheels-rocm-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,17 +153,27 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: "recursive"

- name: Install dependencies
run: |
apt-get update
apt-get install -y python3-pip python3-venv rocm-libs
- name: Set up Python environment
- name: Install git on container
run: |
python3 -m venv /opt/venv
. /opt/venv/bin/activate
apt update
apt install -y git
- name: Setup Python
uses: actions/setup-python@v5
continue-on-error: true
id: setup-python
with:
python-version: ${{ matrix.pyver }}
cache: "pip"

- name: Set ROCm environment variables
run: |
Expand Down

0 comments on commit 9496b92

Please sign in to comment.