diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-01-18 18:14:03 +0100 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-01-18 18:17:52 +0100 |
commit | b280166a2aca0b73d5c76d190e0a1e2e78542b56 (patch) | |
tree | a7a69d5836eb96b4d8aaec193f1567948a4d9ab5 | |
parent | 1bc8577c27fd036886225826a172c08a903b5f0f (diff) |
openpgp: Add benchmarking CI job.
-rw-r--r-- | .gitlab-ci.yml | 13 |
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 |