From 1e4f3aa485d4e7398afca8a6c47904818d861ce9 Mon Sep 17 00:00:00 2001 From: thewh1teagle <61390950+thewh1teagle@users.noreply.github.com> Date: Mon, 15 Jul 2024 01:38:34 +0300 Subject: [PATCH] add rocm to tests --- .github/workflows/test_core.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/test_core.yml b/.github/workflows/test_core.yml index 1256a1a0..480f2cfd 100644 --- a/.github/workflows/test_core.yml +++ b/.github/workflows/test_core.yml @@ -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