A CRLF ci.yml turns every step command into "cmd\r", so bash fails to
find the referenced scripts on the Windows runner ("bash
./tooling/install-deps.sh: No such file or directory" — the file is
there, the command carries a trailing CR). Same class as the golden
JSON/OVE fix: pin *.yml/*.yaml to eol=lf.
20 lines
574 B
Plaintext
20 lines
574 B
Plaintext
# Default behavior
|
|
* text=auto
|
|
|
|
# Enforce LF line endings on source files
|
|
*.h text eol=lf
|
|
*.cpp text eol=lf
|
|
*.sh text eol=lf
|
|
*.desktop text eol=lf
|
|
|
|
# Golden/project data files are byte-compared by tests — keep LF on
|
|
# Windows checkouts too (text=auto would hand out CRLF there).
|
|
*.json text eol=lf
|
|
*.ove text eol=lf
|
|
|
|
# Workflow manifests: a CRLF ci.yml turns every step command into
|
|
# "cmd\r", and bash then cannot find the referenced scripts on the
|
|
# Windows runner ("No such file or directory").
|
|
*.yml text eol=lf
|
|
*.yaml text eol=lf
|