From 4c8e378e713eea88db656dc642b489cdb5260b7c Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Sat, 9 Jan 2021 17:53:50 -0800 Subject: Build project in release mode in CI 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. --- ci/gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) 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: -- cgit v1.2.1