From e314137244eb8d34aecf536f453afa596a2dbb37 Mon Sep 17 00:00:00 2001 From: kierandidi Date: Wed, 11 Nov 2026 15:14:31 +0000 Subject: [PATCH 1/2] Allow CPU CI and docs to build without compiler cache --- .github/workflows/ci.yml | 7 ++++++- .github/workflows/docs.yml | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59963dfa2..e4d7ecc8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,6 +94,8 @@ jobs: python-version: "3.12" - name: install compiler cache + # Caching is optional; package-server outages must not block testing. + continue-on-error: true run: | if [ "$RUNNER_OS" = macOS ]; then brew install ccache @@ -132,7 +134,10 @@ jobs: - name: report compiler cache if: always() - run: ccache --show-stats + run: | + if command -v ccache >/dev/null; then + ccache --show-stats + fi - name: test env: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d51376305..f230620e9 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -40,6 +40,8 @@ jobs: python-version: "3.12" - name: install compiler cache + # The build script falls back to direct compilation without ccache. + continue-on-error: true run: | sudo apt-get update sudo apt-get install --yes ccache From c0797f8e8e7a70f11ad8037d2a267f698a7e7f55 Mon Sep 17 00:00:00 2001 From: kierandidi Date: Wed, 11 Nov 2026 16:28:18 +0000 Subject: [PATCH 2/2] Try existing browser libraries when Ubuntu dependency downloads fail --- .github/workflows/docs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f230620e9..f3790c2fb 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -71,7 +71,10 @@ jobs: - name: Check interactive documentation run: | npm install --prefix "$RUNNER_TEMP/tmol-docs-browser" --no-audit --no-fund playwright@1.62.1 - "$RUNNER_TEMP/tmol-docs-browser/node_modules/.bin/playwright" install --with-deps chromium + if ! "$RUNNER_TEMP/tmol-docs-browser/node_modules/.bin/playwright" install --with-deps chromium; then + echo "::warning::System dependency installation failed; trying the runner's existing libraries." + "$RUNNER_TEMP/tmol-docs-browser/node_modules/.bin/playwright" install chromium + fi NODE_PATH="$RUNNER_TEMP/tmol-docs-browser/node_modules" node .github/scripts/check_docs_explorers.cjs docs/_build/html - name: Upload rendered docs