From cfdd18be67997627b3052f06e2b483a9571424a9 Mon Sep 17 00:00:00 2001 From: Tipragot Date: Sat, 27 May 2023 14:35:14 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20des=20d=C3=A9pendances=20n=C3=A9cessair?= =?UTF-8?q?e=20=C3=A0=20la=20compilation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7cd2d81..ee05eb8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,8 @@ stages: cargo-test: image: rust:latest stage: checks + before_script: + - apt-get update && apt-get install libasound2-dev libudev-dev -y script: - cargo test --workspace rules: @@ -15,6 +17,7 @@ cargo-clippy: image: rust:latest stage: checks before_script: + - apt-get update && apt-get install libasound2-dev libudev-dev -y - rustup component add clippy script: - cargo clippy --workspace @@ -26,8 +29,7 @@ cargo-fmt: image: rust:latest stage: checks before_script: - - rustup install nightly - - rustup component add rustfmt + - rustup install nightly --profile complete script: - cargo +nightly fmt --check rules: