Update rust.yml
This commit is contained in:
parent
d1feaca9ce
commit
1cc2d9fb1b
9
.github/workflows/rust.yml
vendored
9
.github/workflows/rust.yml
vendored
|
@ -12,7 +12,7 @@ env:
|
|||
jobs:
|
||||
build-linux:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
@ -29,13 +29,16 @@ jobs:
|
|||
run: |
|
||||
git submodule init
|
||||
git submodule update
|
||||
- name: Install AMD HIP SDK
|
||||
- name: Prepare AMD HIP SDK
|
||||
run: |
|
||||
sudo apt update
|
||||
wget https://repo.radeon.com/amdgpu-install/5.7.1/ubuntu/jammy/amdgpu-install_5.7.50701-1_all.deb
|
||||
sudo apt install ./amdgpu-install_5.7.50701-1_all.deb
|
||||
sudo apt update
|
||||
sudo amdgpu-install --usecase=rocm,hip,hiplibsdk
|
||||
- name: Install AMD HIP SDK
|
||||
# can fail at dkms. ignore and continue
|
||||
continue-on-error: true
|
||||
run: sudo amdgpu-install --usecase=rocm,hip,hiplibsdk
|
||||
- name: Build for Linux
|
||||
run: |
|
||||
cargo xtask --release
|
||||
|
|
Loading…
Reference in a new issue