Skip to content

Windows CI: fix path to Cygwin wrt. ocaml/setup-ocaml#1067#269

Merged
tahina-pro merged 4 commits into
project-everest:masterfrom
tahina-pro:_taramana_setup_ocaml_1067
Mar 24, 2026
Merged

Windows CI: fix path to Cygwin wrt. ocaml/setup-ocaml#1067#269
tahina-pro merged 4 commits into
project-everest:masterfrom
tahina-pro:_taramana_setup_ocaml_1067

Conversation

@tahina-pro

Copy link
Copy Markdown
Member

ocaml/setup-ocaml#1067 changed the path to Cygwin, thus breaking the Windows CI. This PR fixes those paths.

Fixes #268

tahina-pro and others added 4 commits March 24, 2026 11:30
ocaml/setup-ocaml#1067 switched to opam's --cygwin-internal-install,
moving Cygwin from C:\cygwin to C:\.opam\.cygwin\root. Update all
Windows workflow shell references accordingly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The Cygwin setup tool needs --root to target the correct installation
directory. Add support for a CYGWIN_ROOT environment variable in
install-cygwin-packages.sh, which passes it as --root to setup-x86_64.exe.
Set CYGWIN_ROOT in the workflow steps that call this script.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Cygwin setup can fail to auto-select a mirror. Add CYGWIN_MIRROR support
to install-cygwin-packages.sh (passed as --only-site --site to the setup
tool) and set it to mirrors.kernel.org in the workflows.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@tahina-pro
tahina-pro merged commit 70618f0 into project-everest:master Mar 24, 2026
17 checks passed
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.

Windows CI: upgrade setup-ocaml to 3.5.1

1 participant