Skip to content

Remove bespoke windows CI test job#314

Merged
ppenna merged 1 commit into
mainfrom
fix/276/rm-windows-test-ci
Jul 2, 2026
Merged

Remove bespoke windows CI test job#314
ppenna merged 1 commit into
mainfrom
fix/276/rm-windows-test-ci

Conversation

@ada-x64

@ada-x64 ada-x64 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

This PR removes the bespoke windows CI test job. This has been moved to the shared nanvix-ci.yml in nanvix/workflows.

This additionally removes the sentinel check for CI mode if the image exists.

Closes #276

Release artifacts should be unaffected by these changes.

This commit aims to remove the bespoke windows CI job.

It also relaxes the _ensure_ramfs sentinel in CI. The ramfs image is
built on a previous run and is guaranteed to be a valid and up-to-date
image.
Copilot AI review requested due to automatic review settings July 1, 2026 18:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 removes the repository-specific Windows CI test job and shifts Windows testing responsibility to the shared nanvix-ci.yml workflow in nanvix/workflows, while adjusting ramfs handling to rely on the standard test output location.

Changes:

  • Remove the bespoke windows-test job from .github/workflows/ci.yml and enable Windows testing via the shared workflow input.
  • Remove NANVIX_PREBUILT_RAMFS handling from .nanvix/src/test.py so standalone tests always use _ensure_ramfs().
  • Add a CI-only short-circuit in .nanvix/src/build.py to accept an existing nanvix_rootfs.img without sentinel/hash validation.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.nanvix/src/test.py Removes prebuilt-ramfs override path and always ensures a ramfs for standalone tests.
.nanvix/src/build.py Adds CI-specific reuse path for nanvix_rootfs.img in _ensure_ramfs().
.github/workflows/ci.yml Removes custom Windows test job and switches to shared workflow Windows testing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .nanvix/src/test.py
self._ramfs_img = p
else:
self._ensure_ramfs(sysroot)
self._ensure_ramfs(sysroot)
Comment thread .nanvix/src/build.py
Comment on lines 84 to +88
"""Validate that an up-to-date ramfs image exists.

Used by ``test``, ``release``, and ``benchmark``: never builds.
Building the ramfs requires Docker (for .pyc pre-compilation)
and is therefore confined to ``./z build`` via
:meth:`_build_ramfs`. A missing or stale image is fatal.
Used by ``test``, ``release``, and ``benchmark``: never builds. Building
the ramfs requires Docker (for .pyc pre-compilation) and is therefore
confined to ``./z build`` via :meth:`_build_ramfs`. A missing or stale
@ada-x64 ada-x64 marked this pull request as ready for review July 1, 2026 19:58
@ada-x64 ada-x64 requested a review from ppenna as a code owner July 1, 2026 19:58
@ppenna ppenna merged commit 78dd1bf into main Jul 2, 2026
14 checks passed
@ppenna ppenna deleted the fix/276/rm-windows-test-ci branch July 2, 2026 17:44
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.

Remove bespoke Windows CI job

3 participants