Skip to content

test: add docSupport test and add docSupport version check#223

Merged
bobvanderlinden merged 2 commits into
masterfrom
docSupportChecks
Apr 15, 2026
Merged

test: add docSupport test and add docSupport version check#223
bobvanderlinden merged 2 commits into
masterfrom
docSupportChecks

Conversation

@bobvanderlinden
Copy link
Copy Markdown
Owner

@bobvanderlinden bobvanderlinden commented Apr 13, 2026

Duplicate of #212 but updated to use parallel CI from #225, so that builds won't timeout on GHA.

Closes #212
Closes #221

@hukaidong
Copy link
Copy Markdown
Contributor

I think the issue is GitHub action's 6hrs running limit. There's too many checks being executed in a single action. Dividing checks to several nix builds may help

@bobvanderlinden
Copy link
Copy Markdown
Owner Author

I think the issue is GitHub action's 6hrs running limit. There's too many checks being executed in a single action. Dividing checks to several nix builds may help

I saw one of the earlier runs off the other pr saying "pushing is disabled" in the post run of cachix. But I see all recent runs so not execute the post run anymore regardless due to the 6h limit. I could've sworn this used to work.

I can manually build Linux locally, but cannot do this for macOS. I'll probably need to parallelize the build some more.

hukaidong and others added 2 commits April 15, 2026 21:51
There is a do-install-doc issue related to ruby version < 3.4.
This commit checks doc support for ruby version >= 3.4 and add guard
perventing docSupport be used in parallel build with early versions.

See: ruby/rubygems#7580
rdoc tries to create XDG_DATA_DIR (defaulting to $HOME/.local/share) during the build, but $HOME is read-only in the Nix sandbox.

This adds a writable $HOME during the preConfigure phase, and applies the
same fix to the docSupport tests in flake.nix.

See: #221

Co-Authored-By: Sander <hey@sandydoo.me>
@bobvanderlinden bobvanderlinden merged commit 72dc114 into master Apr 15, 2026
153 checks passed
@bobvanderlinden bobvanderlinden deleted the docSupportChecks branch April 15, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants