summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-09-20 12:00:50 +0200
committerJustus Winter <justus@sequoia-pgp.org>2021-09-28 13:46:50 +0200
commit7eeba4c3dfccdf4cb11699a6b02d7e73ccd22654 (patch)
tree095c51d119fb8baa62246118c89545444159b658 /.gitlab-ci.yml
parentfda86c1b3054b029263859b553544e4fce077fac (diff)
openpgp: Add example that prints the supported algorithms.
- Also run this example in the CI so that we can see what algorithms are supported by which backend.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 60da0ee6..76218ecc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,6 +23,7 @@ build-bullseye:
dependencies:
- codespell
script:
+ - cargo run --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-nettle,compression --example supported-algorithms
- $MAKE_TOP
- if ! git diff --quiet Cargo.lock ; then echo "Cargo.lock changed. Please add the change to the corresponding commit." ; false ; fi
- if ! git diff --quiet sq ; then echo "Please commit the changes to sq/src/sq-usage.rs." ; false ; fi
@@ -272,6 +273,7 @@ windows-msvc:
- cargo --version
script:
# https://github.com/rust-lang/cargo/issues/5015
+ - cargo run --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-cng,compression --example supported-algorithms
- cargo build --manifest-path ffi/Cargo.toml --no-default-features --features crypto-cng,compression
- cargo build --manifest-path openpgp-ffi/Cargo.toml --no-default-features --features crypto-cng,compression
- cargo test --manifest-path openpgp/Cargo.toml --no-default-features --features crypto-cng,compression