Commit Graph

9 Commits

Author SHA1 Message Date
Thomas Watson
6c847a2611 Tools: fix Cygwin CI build
There are currently issues where the non-.exe-suffixed files can't be
copied into the `artifacts` folder; `cp` claims "File exists".
Previously this worked but the suffix was added by Cygwin so all files
in `artifacts` had a `.exe` suffix anyway.

This is evidently intended, though non-intuitive, behavior:
https://sourceware.org/legacy-ml/cygwin/2009-08/msg00293.html

> On Cygwin, you should avoid having a file "foo" and a file "foo.exe"
> in the same directory at all cost to avoid puzzeling POSIX borderline
> behaviour like this.  What you do is essentially in the "not
> supported" class of problems.

> [...] Cygwin does not check for a file "foo", if the name of the file
> is explicitely given as "foo.exe".

Apparently something similar was addressed in PR #20926; the current
code installs files with both suffixes, but that fix contradicts the
info above and now has broken.

This PR changes the code to only install .exe-suffixed files, as opposed
to only non-.exe-suffixed files, which was the behavior before that PR.
2025-01-07 13:08:33 +11:00
Iampete1
106068818e Tools: Scripts: cygwin build: remove setting of git safe directory 2024-07-30 11:39:06 +10:00
Andrew Tridgell
3668616c53 Tools: added -e to cygwin build
error if any part of build fails

also ensure cygwin build in CI is parallelised
2024-02-16 18:59:32 +11:00
Richard Marko
04b46678a4 treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00
Peter Barker
237d3f8e3c Tools: move to compiling 64-bit Windows executables
Co-authored-by: davidbuzz@gmail.com
Co-authored-by: robertlong13

cygwin has dropped 32-bit support
2022-12-08 18:03:19 +11:00
Andrew Tridgell
f0c3d5129c Tools: cope with change in cygwin build
copy both with and without exe extension
2022-06-07 11:20:03 +10:00
Andrew Tridgell
69666d19ee Tools: fix cygwin build error 2022-04-13 18:30:18 +10:00
Andrew Tridgell
821a041cbe Tools: fixed cygwin build for rover
try to fix singleton depenency in scripting
2021-11-19 20:40:30 +09:00
Andrew Tridgell
4c9fc334cc CI: enable cygwin build in github actions
this will allow us to drop azure builds once this is confirmed working
2021-04-22 14:03:19 +10:00