summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2022-02-22 13:39:44 +0100
committerNora Widdecke <nora@sequoia-pgp.org>2022-02-24 15:10:27 +0100
commit729e50150a9fc295632bdab3309001142f8e43e0 (patch)
treeaa9ed6a65f269cd6792108c89d870d3e8afd9f3d
parent173e1b3b39d1815302d6c4658b7141bdc79abdae (diff)
sq,ci: Test all feature combinations.
-rw-r--r--.gitlab-ci.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6ef1ab18..acf112f6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -86,6 +86,35 @@ build-bookworm:arm64:
CARGO_HOME: /cargo
after_script: []
+sq-features:
+ tags:
+ - linux
+ stage: build
+ image: registry.gitlab.com/sequoia-pgp/build-docker-image/bookworm-prebuild:latest
+ only:
+ refs:
+ # Run unconditionally for branch names that contain sq and main,
+ # changes only applies to "branches" here
+ - sq #branch names containing 'sq'
+ - tags
+ - web
+ - schedules
+ parallel:
+ matrix:
+ - FEATURES:
+ - ""
+ - "autocrypt"
+ - "autocrypt,compression-bzip2"
+ - "compression-bzip2"
+ needs:
+ - codespell
+ script:
+ - cargo test --package sequoia-sq --no-default-features --features crypto-nettle --features $FEATURES
+ variables:
+ CARGO_TARGET_DIR: /target
+ CARGO_HOME: /cargo
+ after_script: []
+
bookworm:
tags:
- linux