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: