From e389a1ab6c0ea2af280c30f5296adaa3a4d64c19 Mon Sep 17 00:00:00 2001 From: Benjamin Vaisvil Date: Thu, 27 Feb 2025 20:25:08 -0600 Subject: [PATCH] only run with features nvidia if we're on ubuntu --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 58f6095..9979b73 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,5 +45,6 @@ jobs: run: cargo build --verbose - name: Build with Nvidia run: cargo build --verbose --features nvidia + if: ${{ matrix.os == 'ubuntu-latest' }} - name: Run tests run: cargo test --verbose