diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 1f2c8a9..034f53d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -4,8 +4,9 @@ name: Nightly # publishing, and the virtual camera through wgpu on Mesa's software Vulkan # driver, the camera in a private PipeWire session; the virtual camera's # v4l2loopback fallback, a module load no pull request job should make; -# `just ci` on macOS, whose capture backends Check's Linux runner never -# compiles; and the Flatpak, a release build of everything. +# `just ci` on macOS and the studio's Windows build, whose capture backends +# Check's Linux runner never compiles; and the Flatpak, a release build of +# everything. permissions: contents: read @@ -90,3 +91,20 @@ jobs: flatpak: name: Flatpak uses: ./.github/workflows/flatpak.yml + + windows: + name: Windows build + runs-on: windows-latest + timeout-minutes: 90 + + steps: + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + submodules: true + + # No Nix on Windows: rustup installs the toolchain rust-toolchain.toml + # names on first use. + - name: Build + run: cargo build --locked -p moq-studio --features release diff --git a/quest/m0/app-windows.md b/quest/m0/app-windows.md index 9ed96ba..f5a5712 100644 --- a/quest/m0/app-windows.md +++ b/quest/m0/app-windows.md @@ -24,13 +24,11 @@ the studio landed. [moq-dev/studio#85](https://github.com/moq-dev/studio/pull/85)) has not run there either. -Decided 2026-11-09 (maintainer, /quest-audit): ✅ compiling for Windows is -[its own quest](/quest/m0/windows-build.md) (rejected: folding it in here), -since a hosted runner does it without the host this quest waits on. +The nightly `windows-latest` job (`.github/workflows/nightly.yml`) compiles +`moq-studio --features release` for Windows; this quest runs it. ## Required -- [The studio builds for Windows in CI](/quest/m0/windows-build.md) - the crate compiling for Windows before it is run there - [nixos2 boots Windows for agents](/quest/m0/windows-host.md) - the Windows machine this runs on ## Related diff --git a/quest/m0/windows-build.md b/quest/m0/windows-build.md deleted file mode 100644 index 8ae1f36..0000000 --- a/quest/m0/windows-build.md +++ /dev/null @@ -1,25 +0,0 @@ -# [S] The studio builds for Windows in CI - -## Goal - -`moq-studio` builds for `x86_64-pc-windows-msvc` with `--features capture` on -a `windows-latest` job in the nightly workflow -(`.github/workflows/nightly.yml`), and whatever fails to compile there is -fixed. - -## Plan - -Decided 2026-11-09 (maintainer, /quest-audit): ✅ its own quest (rejected: -folding it into [Studio on Windows](/quest/m0/app-windows.md)). A hosted -runner compiles it, so it needs no Windows host and is not blocked behind -one. - -Nothing has compiled the whole crate for Windows. -[moq-dev/studio#84](https://github.com/moq-dev/studio/pull/84) reported that -`cargo check` for the target fails off a Windows host, in C build scripts -(`tract-linalg`) that need an MSVC toolchain, so it checked only -`hotkeys/native.rs` and `hotkeys/layout.rs`, in a scratch crate. - -The job is nightly, beside the macOS one, not on the merge gate. Windows has -no Nix dev shell, so the job installs the toolchain `rust-toolchain.toml` -names itself.