Skip to content

Commit

Permalink
add rocm to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Jul 14, 2024
1 parent f1203d4 commit 1e4f3aa
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,27 @@ jobs:
name: "Windows - x86_64 with OpenCL"
action: "test"

- platform: "ubuntu-24.04"
args: '--features "rocm"'
rocm-version: "6.1.2"
pre-build-args: "--rocm"
name: "Ubuntu 24.04 - ROCM"
action: "build"

runs-on: ${{ matrix.platform }}
name: ${{ matrix.name }}
steps:
- uses: actions/checkout@v4

- name: Install rocm
if: contains(matrix.args, 'rocm')
run: |
wget https://repo.radeon.com/amdgpu-install/${{ matrix.rocm-version }}/ubuntu/jammy/amdgpu-install_6.1.60102-1_all.deb
apt install ./amdgpu-install_6.1.60102-1_all.deb
apt update
sudo apt install -y rocm
- name: setup Bun
uses: oven-sh/setup-bun@v1

Expand Down

0 comments on commit 1e4f3aa

Please sign in to comment.