Update rust.yml

This commit is contained in:
Seunghoon Lee 2024-03-17 11:43:13 +09:00 committed by GitHub
parent d1feaca9ce
commit 1cc2d9fb1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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