From 249bfcf3286ddf6db4fbca4a63c720924aa56960 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Fri, 12 Jul 2024 15:32:35 +0200 Subject: [PATCH] chore: add system deps to the CI --- .gitea/workflows/cargo.yaml | 4 ++++ .github/workflows/cargo.yaml | 14 ++++---------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/cargo.yaml b/.gitea/workflows/cargo.yaml index 17bbd59..22724f8 100644 --- a/.gitea/workflows/cargo.yaml +++ b/.gitea/workflows/cargo.yaml @@ -21,6 +21,10 @@ jobs: run: | rustup component add rustfmt rustup component add clippy + - name: install additional system dependencies + run: | + apt update + apt install libdbus-1-dev libasound2-dev -y - name: config custom registry run: | mkdir -p ~/.cargo/ diff --git a/.github/workflows/cargo.yaml b/.github/workflows/cargo.yaml index 8695471..e7522ad 100644 --- a/.github/workflows/cargo.yaml +++ b/.github/workflows/cargo.yaml @@ -22,6 +22,10 @@ jobs: run: | rustup component add rustfmt rustup component add clippy + - name: install additional system dependencies + run: | + apt update + apt install libdbus-1-dev libasound2-dev -y - name: config custom registry run: | mkdir -p ~/.cargo/ @@ -33,13 +37,3 @@ jobs: cat ~/.cargo/config.toml - name: cargo clippy check run: cargo clippy --all-features --all-targets --workspace - - name: cargo clippy fix - run: cargo clippy --fix --all-features --all-targets --workspace - - name: cargo fmt - run: cargo fmt --all - - name: commit back to repository - uses: stefanzweifel/git-auto-commit-action@v5 - with: - # Optional. Commit message for the created commit. - # Defaults to "Apply automatic changes" - commit_message: automatic cargo CI changes