aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2021-01-09 17:53:50 -0800
committerDaniel Mueller <deso@posteo.net>2021-01-09 17:53:50 -0800
commit0539322b331838ec97f7791dba43ee45a71dbd06 (patch)
tree78b932213a17dcbe84ca23ca0f763d8b0f70eb0a
parent2f693125799a05114da0b0a88333529a7a24647f (diff)
downloadnitrocli-devel.tar.gz
nitrocli-devel.tar.bz2
Build project in release mode in CIdevel
With this change we make sure to build the crate in release mode from the CI pipeline. Doing so ensures that any conditional compilation dependent on the build type or features of it is checked as part of the integration pipeline.
-rw-r--r--ci/gitlab-ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/gitlab-ci.yml b/ci/gitlab-ci.yml
index e1e119c..348cc1d 100644
--- a/ci/gitlab-ci.yml
+++ b/ci/gitlab-ci.yml
@@ -16,6 +16,7 @@ build-test:cargo:
- apt-get install --assume-yes libudev-dev libhidapi-dev
- rustc --version && cargo --version
- cargo build --bins --tests --verbose
+ - cargo build --bins --tests --verbose --release
- cargo test --verbose
lint:clippy: