From efdcb9ec300b88054b99313539c1b7f44855b572 Mon Sep 17 00:00:00 2001 From: Alex Hayton Date: Tue, 30 Jul 2024 14:53:55 +0100 Subject: [PATCH] Alsa-tools --- .github/workflows/examples.yml | 5 +++++ .github/workflows/main.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 28a6983..baac3ca 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -29,9 +29,14 @@ jobs: - uses: ilammy/setup-nasm@v1 - name: Checkout sources uses: actions/checkout@v2 + + - name: Install alsa-tools (ubuntu only) + if: matrix.os == 'ubuntu-latest' + run: sudo apt-get install alsa-tools - name: Set MSVC target (windows only) if: matrix.os == 'windows-latest' run: bash ./scripts/set-windows-msvc.sh + - name: Build example working-directory: examples/${{ matrix.example }} run: cargo build diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d1961fa..2372321 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,9 +27,14 @@ jobs: - uses: ilammy/setup-nasm@v1 - name: Checkout sources uses: actions/checkout@v2 + + - name: Install alsa-tools (ubuntu only) + if: matrix.os == 'ubuntu-latest' + run: sudo apt-get install alsa-tools - name: Set MSVC target (windows only) if: matrix.os == 'windows-latest' run: bash ./scripts/set-windows-msvc.sh + - name: Cargo build main project (Default features) run: cargo build - name: Cargo build main project (Optional features)