summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 906ffaa0..6284e876 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,3 +8,19 @@ include:
- component: "gitlab.com/sequoia-pgp/common-ci/sequoia-pipeline@main"
inputs:
extra_args: "-- --skip leak_tests"
+
+fuzzing:
+ image: 192.168.122.1:5000/sequoia-pgp/build-docker-image/trixie-prebuild
+ stage: pre-check
+ before_script:
+ - !reference [.before_script, start]
+ - !reference [.before_script, end]
+ script:
+ - cargo check --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-fuzzing,compression,allow-experimental-crypto,allow-variable-time-crypto
+ - if ! git diff --quiet Cargo.lock ; then echo "Cargo.lock changed. Please add the change to the corresponding commit." ; git diff ; false ; fi
+ - if ! git diff --quiet ; then echo "The build changed the source. Please investigate." ; git diff ; fi
+
+ after_script:
+ - !reference [.after_script, end]
+ rules:
+ - !reference [.default_rules, rules]