diff --git a/.github/workflows/nanvix-ci.yml b/.github/workflows/nanvix-ci.yml index 2b0cafcae..4527c7f20 100644 --- a/.github/workflows/nanvix-ci.yml +++ b/.github/workflows/nanvix-ci.yml @@ -29,10 +29,10 @@ jobs: uses: nanvix/workflows/.github/workflows/nanvix-ci.yml@v2.4.0 with: platforms: '["microvm"]' - process-modes: '["multi-process","single-process","standalone"]' + process-modes: '["standalone"]' memory-sizes: '["256mb"]' windows-matrix-exclude: '[]' - skip-full-test-modes: '["multi-process","single-process","standalone"]' + skip-full-test-modes: '["standalone"]' standalone-test-args: "test-functional" caller-event-name: ${{ github.event_name }} windows-test: true @@ -46,10 +46,10 @@ jobs: uses: nanvix/workflows/.github/workflows/nanvix-ci.yml@v2.4.0 with: platforms: '["microvm"]' - process-modes: '["multi-process","single-process","standalone"]' + process-modes: '["standalone"]' memory-sizes: '["256mb"]' windows-matrix-exclude: '[]' - skip-full-test-modes: '["multi-process","single-process","standalone"]' + skip-full-test-modes: '["standalone"]' standalone-test-args: "test-functional" caller-event-name: 'schedule' windows-test: true diff --git a/.nanvix/nanvix.toml b/.nanvix/nanvix.toml index 1b462ee50..46aaee4b0 100644 --- a/.nanvix/nanvix.toml +++ b/.nanvix/nanvix.toml @@ -6,7 +6,7 @@ nanvix-version = "0.17.84" [builds] [builds.matrix] platforms = ["hyperlight", "microvm"] -modes = ["multi-process", "single-process", "standalone"] +modes = ["standalone"] memory = ["256mb"] [dependencies] diff --git a/.nanvix/z.py b/.nanvix/z.py index cabb03ddb..0e65709d4 100644 --- a/.nanvix/z.py +++ b/.nanvix/z.py @@ -171,15 +171,8 @@ def test(self) -> None: self._run_tests_windows() return - if self.config.deployment_mode == "standalone": - self._validate_test_targets() - self._run_functional_standalone() - else: - targets = self.targets if self.targets else ["test"] - run( - *self._make_args(*targets), - cwd=repo_root(), - ) + self._validate_test_targets() + self._run_functional_standalone() def _get_sysroot(self) -> str: """Return the sysroot path or fatal if unset.""" @@ -254,17 +247,9 @@ def _run_functional_standalone(self) -> None: def _run_tests_windows(self) -> None: """Run tests natively on Windows. - Only standalone mode is tested on Windows; multi-process and - single-process require linuxd, which is Linux-only. Uses - make_initrd to bundle each test binary with system daemons, + Uses make_initrd to bundle each test binary with system daemons, and a ramfs providing /tmp for any test I/O. """ - if self.config.deployment_mode != "standalone": - print( - f"Skipping tests on Windows for mode '{self.config.deployment_mode}' (requires linuxd)." - ) - return - sysroot_path = Path(self._get_sysroot()) nanvixd = sysroot_path / "bin" / "nanvixd.exe" mkramfs = sysroot_path / "bin" / "mkramfs.exe"