summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ea7db163..e3aa2153 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,6 +38,19 @@ bullseye:
CARGO_TARGET_DIR: $CI_PROJECT_DIR/../target.$CI_CONCURRENT_ID.bullseye
RUSTFLAGS: -D warnings -A unused-parens
+benchmarks:
+ stage: test
+ image: registry.gitlab.com/sequoia-pgp/build-docker-image/bullseye:latest
+
+ script:
+ - cargo bench -- --save-baseline $CI_COMMIT_SHA
+
+ after_script: []
+
+ variables:
+ CARGO_TARGET_DIR: $CI_PROJECT_DIR/../target.benchmarks
+ RUSTFLAGS: -D warnings -A unused-parens
+
all_commits:
# Test each commit up to main, to facilitate bisecting.
stage: test