diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..564e8f5a --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,26 @@ +image: rustdocker/rust:stable + + before_script: + - apt-get update -qq && apt-get install -y -qq libdbus-1-dev libclang-dev libudev-dev + +stages: + - test + - build + +test: + script: + - cargo check #+nightly check --features "clippy" + +build: + only: + - next + script: + - make && make vendor + artifacts: + paths: + - vendor-*.tar.xz + - cargo-config + +variables: + GIT_SUBMODULE_STRATEGY: normal +