From 404b260ee699336f15f3257beb05b10029e937d2 Mon Sep 17 00:00:00 2001 From: Doonv <58695417+doonv@users.noreply.github.com> Date: Mon, 6 Nov 2023 16:07:39 +0200 Subject: [PATCH] Attempt 4 --- .github/workflows/rust.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9c1d67d..459c08c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -12,6 +12,9 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable + - name: Install alsa and udev + run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev + if: runner.os == 'linux' - name: Run cargo check run: cargo check @@ -25,6 +28,9 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable + - name: Install alsa and udev + run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev + if: runner.os == 'linux' - name: Run cargo test run: cargo test @@ -37,4 +43,4 @@ jobs: - name: Run cargo fmt run: cargo fmt --all -- --check - name: Run cargo clippy - run: cargo clippy -- -D warnings \ No newline at end of file + run: cargo clippy -- -D warnings