Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
98d7162
Preparing for merge from rustc
Kobzol Jan 5, 2025
25beca9
add josh-sync build dir to gitignore (#2196)
BoxyUwU Jan 5, 2025
be5d781
Add rustc-dev-guide to the list of repositories managed by josh (#2197)
Kobzol Jan 6, 2025
8561cc8
Only keep label description in Forge docs
jieyouxu Jan 5, 2025
d91316e
Fix broken raw HTML (#2198)
max-heller Jan 7, 2025
a5e424e
Preparing for merge from rustc
Kobzol Jan 8, 2025
2f3ee5d
Merge from rustc
Kobzol Jan 8, 2025
5a11197
Merge pull request #2200 from Kobzol/rustc-pull
Kobzol Jan 8, 2025
9577119
Save linkcheck cache always
marxin Jan 6, 2025
1ffe0ea
Update key
marxin Jan 8, 2025
7e2a690
Print an explicit message if the base repo head commit is up-to-date
Kobzol Jan 8, 2025
f761e1a
Error if there is nothing to pull
Kobzol Jan 8, 2025
42c284e
Merge pull request #2030 from marxin/ci-cache
camelid Jan 9, 2025
b4297e7
ci: Remove incorrect use of `continue-on-error`
camelid Jan 9, 2025
ce0d5c1
Merge pull request #2203 from camelid/ci-fix
Kobzol Jan 9, 2025
fcbcc74
Document how to find the configuration used in CI
ehuss Jan 10, 2025
43848be
Fix calculate-job-matrix.py link
ehuss Jan 10, 2025
f53bce4
Merge pull request #2206 from ehuss/fix-matrix-link
jieyouxu Jan 10, 2025
90e0127
Merge pull request #2205 from ehuss/ci-config
jieyouxu Jan 10, 2025
980412f
Add CI workflow for performing rustc-pull
Kobzol Jan 8, 2025
31f855b
Fix some broken links
camelid Jan 15, 2025
284d05d
Merge pull request #2208 from camelid/fix-some-links
jieyouxu Jan 15, 2025
1327eeb
Merge pull request #2202 from Kobzol/pull-ci
jieyouxu Jan 15, 2025
4a03a9f
fix some more typos
rmehri01 Jan 15, 2025
1df83a7
Merge pull request #2209 from rmehri01/typos
jieyouxu Jan 15, 2025
f8f912d
nyaa
lcnr Jan 15, 2025
3423f1e
Merge pull request #2210 from lcnr/promote-type-tests
lcnr Jan 15, 2025
6a57fbf
compiletest: fix outdated `rustdoc-js` test suite name
jieyouxu Jan 17, 2025
b38aa65
Merge pull request #2212 from jieyouxu/fix-rustdoc-js
jieyouxu Jan 17, 2025
80c664a
remove outdated text about wfx implies
patrickoliveira15 Jan 17, 2025
84fdb51
Merge pull request #2211 from patrickoliveira15/patch/inference-invar…
JohnTitor Jan 17, 2025
d6b0828
docs: document how to install a suitable `josh-proxy` locally
jieyouxu Jan 18, 2025
24f264a
Merge pull request #2213 from jieyouxu/install-josh-proxy
jieyouxu Jan 20, 2025
29be13d
Add portable SIMD to list of subtrees
Kobzol Jan 20, 2025
808bd95
Preparing for merge from rustc
Kobzol Jan 20, 2025
1e0204b
Merge from rustc
Kobzol Jan 20, 2025
1b5b051
Merge pull request #2214 from Kobzol/subtree-portable-simd
jieyouxu Jan 20, 2025
470ab13
Merge pull request #2215 from Kobzol/pull
Kobzol Jan 20, 2025
28b5e11
Send a message to Zulip when a sync finishes
Kobzol Jan 20, 2025
a3f061c
Merge pull request #2216 from Kobzol/ci-pull-zulip
Kobzol Jan 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Save linkcheck cache always
  • Loading branch information
marxin committed Jan 8, 2025
commit 9577119d1987289ba1291d79527e2b866c98eb55
22 changes: 16 additions & 6 deletions src/doc/rustc-dev-guide/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ jobs:
~/.cargo/bin
key: ${{ runner.os }}-${{ env.MDBOOK_VERSION }}--${{ env.MDBOOK_LINKCHECK2_VERSION }}--${{ env.MDBOOK_TOC_VERSION }}--${{ env.MDBOOK_MERMAID_VERSION }}

- name: Cache linkcheck
uses: actions/cache@v4
- name: Restore cached Linkcheck
if: github.event_name == 'schedule'
id: cache-linkcheck-restore
uses: actions/cache/restore@v4
with:
path: |
~/book/linkcheck
key: ${{ runner.os }}-${{ hashFiles('./book/linkcheck') }}
path: book/linkcheck/cache.json
key: linkcheck

- name: Install latest nightly Rust toolchain
if: steps.mdbook-cache.outputs.cache-hit != 'true'
Expand All @@ -57,7 +58,16 @@ jobs:
cargo install mdbook-mermaid --version ${{ env.MDBOOK_MERMAID_VERSION }}

- name: Check build
run: ENABLE_LINKCHECK=1 mdbook build
run: mdbook build
continue-on-error: true

- name: Save cached Linkcheck
id: cache-linkcheck-save
if: github.event_name == 'schedule'
uses: actions/cache/save@v4
with:
path: book/linkcheck/cache.json
key: linkcheck

- name: Deploy to gh-pages
if: github.event_name == 'push'
Expand Down
4 changes: 3 additions & 1 deletion src/doc/rustc-dev-guide/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ exclude = [
# 500 is returned for HEAD request
"code\\.visualstudio\\.com/docs/editor/tasks",
]
cache-timeout = 86400
# The scheduled CI runs every day and so we need to reuse a part of the cache
# in order to face "Server returned 429 Too Many Requests" errors for github.com.
cache-timeout = 90000
warning-policy = "error"

[output.html.redirect]
Expand Down