Repository navigation
ci: run docs and font quality on self-hosted Mac minis - #13
Merged
Merged
Conversation
Point all workflows at [self-hosted, macOS, ARM64]. Drop Playwright --with-deps/install-deps, cache browsers at ~/Library/Caches/ms-playwright, and keep the chromium/firefox/webkit matrix plus the docs aggregator. Make CI shell BSD-portable (no apt/sudo, scratch files in $RUNNER_TEMP) and document runner prerequisites in docs/ci-runners.md. Co-authored-by: Joe Blau <[email protected]>
Co-authored-by: Joe Blau <[email protected]>
setup-python cannot install on these Mac minis because it writes /Users/runner/hostedtoolcache. Keep the 3.13 pin via brew + a per-job venv. Playwright Firefox was exiting with "Could not find profile folder" when Nightly hit the admin user's Application Support; isolate HOME without dropping any browser shards. Co-authored-by: Joe Blau <[email protected]>
The runners have Homebrew but not python3.13, and setup-python still cannot write /Users/runner/hostedtoolcache. Keep the 3.13 pin by installing the Homebrew formula into a per-job venv. Co-authored-by: Joe Blau <[email protected]>
Co-authored-by: Joe Blau <[email protected]>
HOME isolation was not enough: Gecko uses NSHomeDirectory and still opens the TCC-locked Firefox app-data dir. Set CFFIXED_USER_HOME and change Nightly's application.ini Name/Vendor so the same firefox shard can create a profile. Chromium and WebKit stay as they are. Co-authored-by: Joe Blau <[email protected]>
Joe limited Bloxwap Playwright coverage to Chromium and WebKit. Remove the firefox project and docs-browser shard, and drop the Nightly application.ini / CFFIXED_USER_HOME workarounds. Other checks stay. Co-authored-by: Joe Blau <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move documentation and font delivery quality jobs to self-hosted Apple Silicon Mac minis (
[self-hosted, macOS, ARM64]). Use Homebrew Python 3.13 in a per-job virtual environment, macOS browser cache paths, GNU tar for Pages artifacts, and portable shell scripts with scratch files in$RUNNER_TEMP.Run the Playwright suite in Chromium and WebKit with one worker per shard. Keep the required
docscheck dependent on every browser shard. Document runner prerequisites indocs/ci-runners.md.Keep npm publishing on GitHub-hosted
ubuntu-latestwithactions/setup-python: npm trusted publishing does not support self-hosted runners (https://docs.npmjs.com/trusted-publishers/). This preserves the existing OIDC authentication and provenance flow.Validation:
actionlint,shellcheck .github/scripts/macos-python313.sh,sh -n .github/scripts/macos-python313.sh, andgit diff --checkpassed locally. The full GitHub Actions suite must pass on the revised commit before merge.