Trial by fire of gitlab CI

This commit is contained in:
Luke D Jones
2020-08-23 14:44:47 +12:00
parent b921b68c57
commit 25ee250542

26
.gitlab-ci.yml Normal file
View File

@@ -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