Skip to content

Add Windows support to Copilot agent setup workflow#73

Draft
Copilot wants to merge 2 commits intosimn-developmentfrom
copilot/modify-copilot-setup-windows
Draft

Add Windows support to Copilot agent setup workflow#73
Copilot wants to merge 2 commits intosimn-developmentfrom
copilot/modify-copilot-setup-windows

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 1, 2026

The copilot-setup-steps.yml workflow only supported ubuntu-latest, preventing Copilot agents from running on Windows.

Changes

  • Matrix strategy: Converted the single ubuntu-latest job to a matrix over [ubuntu-latest, windows-latest]
  • Windows OCaml setup: Added conditional step using the existing ./.github/actions/setup-ocaml-windows action (with required MINGW_ARCH/CYG_ROOT env vars)
  • Conditional Linux steps: Gated apt dependencies, opam init/cache, and ldconfig behind if: runner.os == 'Linux'
  • Windows build: Added Build Haxe (Windows) step using PowerShell + Makefile.win, mirroring windows64-build in main.yml
  • Neko platform: Made PLATFORM env conditional — linux64 or windows64 — via a GitHub Actions expression on the shared setup-neko step
  • Cross-platform tail steps: Add workspace to PATH and Setup haxelib use shell: bash (Git Bash on Windows) to stay platform-agnostic

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: Simn <634365+Simn@users.noreply.github.com>
Copilot AI changed the title [WIP] Modify copilot setup to enable agents on Windows Add Windows support to Copilot agent setup workflow Mar 1, 2026
Copilot finished work on behalf of Simn March 1, 2026 12:03
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