diff options
Diffstat (limited to 'nitrocli/ci')
-rw-r--r-- | nitrocli/ci/gitlab-ci.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nitrocli/ci/gitlab-ci.yml b/nitrocli/ci/gitlab-ci.yml new file mode 100644 index 0000000..2da774c --- /dev/null +++ b/nitrocli/ci/gitlab-ci.yml @@ -0,0 +1,15 @@ +# The documentation for the contents of this file can be found at: +# https://docs.gitlab.com/ce/ci/yaml/README.html + +# Official language image. Look for the different tagged releases at: +# https://hub.docker.com/r/library/rust/tags/ +# The recipe for this docker image can be found at: +# https://github.com/rust-lang/docker-rust/blob/e7703b2cf525f2525bdf8d131cd66b5b38b1513c/1.31.0/stretch/Dockerfile +image: "rust:1.31.0" + +build:cargo: + script: + - apt-get update + - apt-get install --assume-yes libudev-dev libhidapi-dev + - rustc --version && cargo --version + - cd nitrocli && cargo build --all --verbose |