Files
OpenShell/tasks/windows.toml
2026-09-30 17:17:49 +02:00

146 lines
9.1 KiB
TOML

# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# Windows MSVC validation and build tasks. These intentionally live outside
# the Linux/macOS task definitions so each hosted workflow has an explicit
# platform-native entry point.
["windows:check"]
description = "Check Windows x64 and ARM64 MSVC targets"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 check all"
["windows:check:x64"]
description = "Check Windows x64 MSVC target"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 check x86_64-pc-windows-msvc"
["windows:check:arm64"]
description = "Check Windows ARM64 MSVC target"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 check aarch64-pc-windows-msvc"
["windows:lint:x64"]
description = "Lint Windows x64 MSVC workspace targets with Clippy"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 lint x86_64-pc-windows-msvc"
["windows:lint:arm64"]
description = "Lint Windows ARM64 MSVC workspace targets with Clippy"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 lint aarch64-pc-windows-msvc"
["windows:build"]
description = "Build Windows x64 and ARM64 release binaries"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 build all"
["windows:build:x64"]
description = "Build Windows x64 release binaries"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 build x86_64-pc-windows-msvc"
["windows:build:arm64"]
description = "Build Windows ARM64 release binaries"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 build aarch64-pc-windows-msvc"
["windows:test:x64"]
description = "Run Windows x64 MSVC workspace tests with the CI nextest profile and server test support"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 test-precommit x86_64-pc-windows-msvc"
["windows:test:arm64"]
description = "Run Windows ARM64 MSVC workspace tests with the CI nextest profile and server test support on a native ARM64 host"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 test-precommit aarch64-pc-windows-msvc"
["windows:test:conformance:x64"]
description = "Run all CLI conformance Cargo tests against a mock MXC gateway on native Windows x64"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 test-conformance x86_64-pc-windows-msvc"
["windows:test:conformance:arm64"]
description = "Run all CLI conformance Cargo tests against a mock MXC gateway on native Windows ARM64"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 test-conformance aarch64-pc-windows-msvc"
["windows:test:unsupported:x64"]
description = "Run focused Windows unsupported compute-driver contract tests"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 test-unsupported x86_64-pc-windows-msvc"
["windows:test:unsupported:arm64"]
description = "Run focused Windows unsupported compute-driver contract tests on a native ARM64 host"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 test-unsupported aarch64-pc-windows-msvc"
["windows:artifacts"]
description = "Report Windows release artifact sizes and SHA256 hashes"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 artifacts all"
["windows:ci"]
description = "Run Windows MSVC checks, release builds, x64 tests, and unsupported-driver contract tests"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 ci all"
["windows:test:mxc-real:x64"]
description = "Run native x64 real-wxc-exec Tier-2 integration tests (skip only when binary/backend is unavailable; supported ProcessContainer failures are fatal)"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 test-mxc-real x86_64-pc-windows-msvc"
["windows:test:mxc-real:arm64"]
description = "Run native ARM64 real-wxc-exec Tier-2 integration tests (skip only when binary/backend is unavailable; supported ProcessContainer failures are fatal)"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 test-mxc-real aarch64-pc-windows-msvc"
["windows:test:mxc-gb300:arm64"]
description = "Run native ARM64 GB300 real-MXC tests (strict: any required missing prerequisite or SKIP fails)"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 test-mxc-gb300 aarch64-pc-windows-msvc"
["windows:qualify:mxc:gb300:contract"]
description = "Validate the NVBug 6643699 GB300 Windows ARM64 MXC scope contract"
run = "uv run python crates/openshell-driver-mxc/qualification/validate.py contract"
["windows:qualify:mxc:gb300"]
description = "Execute and validate the complete GB300 Windows ARM64 MXC qualification contract"
run = "echo 'GB300 qualification requires a native Windows ARM64 host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File crates/openshell-driver-mxc/qualification/run-gb300-woa.ps1"
["windows:e2e:mxc"]
description = "Run MXC Tier-3 e2e scenario runner against real wxc-exec (probe-gated; skip-safe on hosts without the binary)"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File crates/openshell-driver-mxc/examples/run-mxc-e2e.ps1"
["windows:e2e:mxc:mock"]
description = "Run MXC Tier-3 e2e scenario runner in mock/wiring-only mode (no real wxc-exec required)"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File crates/openshell-driver-mxc/examples/run-mxc-e2e.ps1 -Mock"
["windows:e2e:mxc:provider-mock"]
description = "Run the shipped MXC provider-credential example with a synthetic credential and the in-process wxc mock on native Windows"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-mxc-provider-credential-e2e.ps1 -Mock"
["windows:e2e:mxc:ocsf-mock"]
description = "Run the shipped MXC OCSF audit example and validate the zero-provider-events finding with the in-process wxc mock on native Windows"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-mxc-ocsf-audit-e2e.ps1 -Mock"
["windows:e2e:mxc:aggregate-mock"]
description = "Run all four shipped aggregate MXC scenarios with the in-process wxc mock on native Windows"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-mxc-aggregate-e2e.ps1 -Mock"
["windows:e2e:mxc:inference-mock:x64"]
description = "Run the shipped MXC inference demos against the in-process wxc mock and a local API stub on Windows x64"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-mxc-inference-examples-e2e.ps1 -Target x86_64-pc-windows-msvc"
["windows:e2e:mxc:inference-mock:arm64"]
description = "Run the shipped MXC inference demos against the in-process wxc mock and a local API stub on Windows ARM64"
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-mxc-inference-examples-e2e.ps1 -Target aarch64-pc-windows-msvc"