-
Notifications
You must be signed in to change notification settings - Fork 9
Enable parallel builds to improve build speed #489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a GitHub Actions matrix to run both the standard and i18n documentation builds in parallel, updating build, artifact naming, and deploy steps accordingly.
- Add
matrix.builderstrategy forhtmlandmini18n-htmltargets - Consolidate separate build steps into one parameterized step and adjust artifact names
- Update deploy jobs to download and extract both artifacts, then merge i18n output into the main site
Comments suppressed due to low confidence (1)
.github/workflows/doc.yml:119
- [nitpick] There are two steps both named
UnTar build, which can be confusing in logs. Rename them to e.g.UnTar HTML buildandUnTar i18n buildfor clarity.
- name: UnTar build
Co-authored-by: Copilot <[email protected]>
|
@pyvista-bot LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Approving this PR because tkoyama010 said so in here ![]()
Overview
This pull request optimizes the GitHub Actions documentation workflow by implementing parallel builds for HTML and internationalization (i18n) documentation. Previously, the workflow built documentation sequentially, which was slower and less efficient.
Changes Made
htmlandmini18n-htmldocumentation targets simultaneously instead of sequentiallydoc-build-html,doc-build-mini18n-html, etc.) to avoid conflicts between parallel buildsBenefits
Technical Details
The workflow now:
This approach maintains backward compatibility while significantly improving build performance.