From 5a824c20984967bf7be5842672dad2917d474060 Mon Sep 17 00:00:00 2001 From: jasonwitty Date: Mon, 11 Aug 2025 23:49:45 -0700 Subject: [PATCH] only run apt command if build box is linux --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ded310f..145ef56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,7 @@ jobs: with: components: clippy, rustfmt - name: Install system dependencies + if: matrix.os == 'ubuntu-latest' run: sudo apt-get update && sudo apt-get install -y libdrm-dev libdrm-amdgpu1 - name: Cargo fmt run: cargo fmt --all -- --check