From bca124a46f7a48e5f593abd8e86bd7336ff085e6 Mon Sep 17 00:00:00 2001 From: Denis Pisarev Date: Wed, 11 May 2022 20:23:30 +0200 Subject: [PATCH] CI: temporarily build docs with a nightly compiler (#5508) --- polkadot/.gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/polkadot/.gitlab-ci.yml b/polkadot/.gitlab-ci.yml index 2b61b7379a..8bb412728e 100644 --- a/polkadot/.gitlab-ci.yml +++ b/polkadot/.gitlab-ci.yml @@ -514,7 +514,8 @@ build-rustdoc: - ./crate-docs/ script: # FIXME: it fails with `RUSTDOCFLAGS="-Dwarnings"` and `--all-features` - - time cargo doc --workspace --verbose + # FIXME: return to stable when https://github.com/rust-lang/rust/issues/96937 gets into stable + - time cargo +nightly doc --workspace --verbose - rm -f ./target/doc/.lock - mv ./target/doc ./crate-docs # FIXME: remove me after CI image gets nonroot