Skip to content

Attempt to install ROCm packages #14

Attempt to install ROCm packages

Attempt to install ROCm packages #14

Workflow file for this run

name: CI
env:
TYPOS_LINK: "https://github.com/crate-ci/typos/releases/download"
TYPOS_VERSION: "1.23.4"
on:
push:
branches:
- main
pull_request: {}
jobs:
checks:
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 apt update
wget https://repo.radeon.com/amdgpu-install/6.2.2/ubuntu/noble/amdgpu-install_6.2.60202-1_all.deb
sudo apt install ./amdgpu-install_6.2.60202-1_all.deb
sudo amdgpu-install --usecase=hiplibsdk
ls -all /opt
ls -all /opt/rocm/include
ls -all /opt/rocm/include/hip
ls -all /opt/rocm/lib
# --------------------------------------------------------------------------------
- name: Audit
run: cargo xtask check audit
# --------------------------------------------------------------------------------
- name: Format
shell: bash
env:
# work around for colors
# see: https://github.com/rust-lang/rustfmt/issues/3385
TERM: xterm-256color
run: cargo xtask check format
# --------------------------------------------------------------------------------
- name: Lint
run: cargo xtask check lint
# --------------------------------------------------------------------------------
- name: Typos
uses: tracel-ai/github-actions/check-typos@v1
# --------------------------------------------------------------------------------
- name: Unit Tests
run: cargo xtask test unit
# --------------------------------------------------------------------------------
- name: Integration Tests
run: cargo xtask test integration
# --------------------------------------------------------------------------------
- name: Documentation Tests
run: cargo xtask doc tests