From 46dc30c0453ce9f18066522fb4b1ed98016568be Mon Sep 17 00:00:00 2001 From: xmppftw Date: Sun, 11 Aug 2024 18:36:53 +0200 Subject: [PATCH] Deny doc warnings in Gitlab CI Github/Gitea/Forgejo CI not affected because it doesnt build docs yet --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3be4ed86..bbfa389b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,7 +41,7 @@ variables: stage: test script: - echo "Building docs to CI_DOC_TARGET=$CI_DOC_TARGET" - - RUSTDOCFLAGS="--cfg docsrs" RUSTFLAGS="--cfg xmpprs_doc_build" cargo +nightly doc --no-deps -Zrustdoc-map --all-features + - RUSTDOCFLAGS="--cfg docsrs -D warnings" RUSTFLAGS="--cfg xmpprs_doc_build" cargo +nightly doc --no-deps -Zrustdoc-map --all-features - apt install -y rsync openssh-client - mkdir -p $HOME/.ssh - echo -e "Host docs\n\tHostname docs.xmpp.rs\n\tPort 1312\n\tUser xmpp-rs\n\tStrictHostKeyChecking no" > $HOME/.ssh/config