diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 66ea56a..63e9132 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -25,12 +25,18 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable - - name: Cache build files - uses: Leafwing-Studios/cargo-cache@v1 - - name: Install Bencher uses: bencherdev/bencher@main + - name: Install Linux dependencies + run: | + sudo apt-get update + # Installs Alsa and udev. + sudo apt-get install --no-install-recommends libasound2-dev libudev-dev + + - name: Cache build files + uses: Leafwing-Studios/cargo-cache@v1 + # Run benchmarks, piping output to both `results.txt` and stdout. - name: Run benchmarks run: cargo bench -- 2>&1 | tee results.txt