aboutsummaryrefslogtreecommitdiff
path: root/ci
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
commit4c8e378e713eea88db656dc642b489cdb5260b7c (patch)
treeb9421ce636cc6076562452435e8f79333452813e /ci
parentb1535576b2fd08183c5f465d98c077498a900395 (diff)
downloadnitrocli-topic/test.tar.gz
nitrocli-topic/test.tar.bz2
Build project in release mode in CItopic/test
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.
Diffstat (limited to 'ci')
-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: