Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -69,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
Expand Down
Loading