Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Add cygwin bin directories to PATH #26508

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tobil4sk
Copy link

@tobil4sk tobil4sk commented Sep 7, 2024

Without these PATH entries, cygwin's binaries never get used. This means that make and bash and other executables are not used from cygwin, but from other preinstalled packages in the github actions runner (e.g. git bash and the preinstalled mingw).

This causes build issues with certain packages, see:
#26501
aantron/luv#162

@avsm avsm requested a review from dra27 September 7, 2024 11:09
@dra27
Copy link
Member

dra27 commented Sep 7, 2024

Something else is going on here - it shouldn’t be necessary to do this in a package build - I’ll endeavour to have a look tomorrow/next week

@tobil4sk
Copy link
Author

tobil4sk commented Sep 7, 2024

This seems somewhat related to ocaml/opam#6181. To me the ideal solution seems to be for opam env/opam exec to take care of setting the PATH correctly so that it is not necessary to set the PATH manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants