From 109259e0029ed5f3f58573ff5e1b0c1055285cb3 Mon Sep 17 00:00:00 2001 From: Jehandad Khan Date: Fri, 20 Sep 2024 21:43:49 +0000 Subject: [PATCH] Add rocm-ci.yaml --- .github/workflows/rocm-ci.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/rocm-ci.yaml diff --git a/.github/workflows/rocm-ci.yaml b/.github/workflows/rocm-ci.yaml new file mode 100644 index 000000000000..55d329d7cb5f --- /dev/null +++ b/.github/workflows/rocm-ci.yaml @@ -0,0 +1,23 @@ +name: Print Environment Variables + +on: [push] + +jobs: + print-env: + runs-on: mi-250 + steps: + - name: Print Environment Variables + run: printenv + + - name: Set up Docker + uses: docker/setup-buildx-action@v2 + + - name: Try rocm-smi + run: | + docker run \ + --group-add video \ + $RENDER_DEVICES \ + --cap-add=SYS_PTRACE \ + --security-opt seccomp=unconfined \ + --shm-size=64G \ + rocm/rocm-terminal rocm-smi \ No newline at end of file