From 696b0dd472d42c7e71c992bd2e3def2d40fadebb Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Wed, 7 Jun 2023 19:20:39 -0400 Subject: Publish docs as github artifacts during CI This PR saves library docs as github artifacts so they can be easily viewed for review. Discussed in --- src/ci/docker/host-x86_64/mingw-check/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ci/docker') diff --git a/src/ci/docker/host-x86_64/mingw-check/Dockerfile b/src/ci/docker/host-x86_64/mingw-check/Dockerfile index 515890aef8d..85a9a5d3375 100644 --- a/src/ci/docker/host-x86_64/mingw-check/Dockerfile +++ b/src/ci/docker/host-x86_64/mingw-check/Dockerfile @@ -45,6 +45,9 @@ ENV SCRIPT python3 ../x.py --stage 2 test src/tools/expand-yaml-anchors && \ python3 ../x.py test --stage 0 src/tools/compiletest && \ python3 ../x.py test --stage 0 core alloc std test proc_macro && \ # Build both public and internal documentation. + RUSTDOCFLAGS=\"--document-private-items --document-hidden-items\" python3 ../x.py doc --stage 0 library && \ + mkdir -p /checkout/obj/staging/doc && \ + cp -r build/x86_64-unknown-linux-gnu/doc /checkout/obj/staging && \ RUSTDOCFLAGS=\"--document-private-items --document-hidden-items\" python3 ../x.py doc --stage 0 compiler && \ RUSTDOCFLAGS=\"--document-private-items --document-hidden-items\" python3 ../x.py doc --stage 0 library/test && \ /scripts/validate-toolstate.sh && \ -- cgit 1.4.1-3-g733a5