Skip to content

Commit

Permalink
Attempt to install ROCm packages
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Oct 10, 2024
1 parent 944a399 commit 31ee713
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,29 @@ on:

jobs:
checks:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Setup Rust
uses: tracel-ai/github-actions/setup-rust@v1
with:
rust-toolchain: stable
cache-key: stable-linux
# --------------------------------------------------------------------------------
- name: Install ROCm Packages
shell: bash
run: |
sudo mkdir --parents --mode=0755 /etc/apt/keyrings
wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | \
gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/6.2.2 noble main" \
| sudo tee --append /etc/apt/sources.list.d/rocm.list
echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' \
| sudo tee /etc/apt/preferences.d/rocm-pin-600
sudo apt update
sudo apt install amdgpu-dkms
sudo apt install rocm
ls -all /opt/
# --------------------------------------------------------------------------------
- name: Audit
run: cargo xtask check audit
# --------------------------------------------------------------------------------
Expand Down

0 comments on commit 31ee713

Please sign in to comment.