diff --git a/Tools/scripts/cygwin_build.sh b/Tools/scripts/cygwin_build.sh index b64892026964a..2a2358740f41e 100755 --- a/Tools/scripts/cygwin_build.sh +++ b/Tools/scripts/cygwin_build.sh @@ -33,20 +33,13 @@ WAF_OPTIONS="-j8" python ./waf sub $WAF_OPTIONS 2>&1 ) | tee artifacts/build.txt -# copy both with exe and without to cope with differences -# between windows versions in CI +# artifacts are expected to have .exe as they are executable cp -v build/sitl/bin/arduplane artifacts/ArduPlane.elf.exe cp -v build/sitl/bin/arducopter artifacts/ArduCopter.elf.exe cp -v build/sitl/bin/arducopter-heli artifacts/ArduHeli.elf.exe cp -v build/sitl/bin/ardurover artifacts/ArduRover.elf.exe cp -v build/sitl/bin/ardusub artifacts/ArduSub.elf.exe -cp -v build/sitl/bin/arduplane artifacts/ArduPlane.elf -cp -v build/sitl/bin/arducopter artifacts/ArduCopter.elf -cp -v build/sitl/bin/arducopter-heli artifacts/ArduHeli.elf -cp -v build/sitl/bin/ardurover artifacts/ArduRover.elf -cp -v build/sitl/bin/ardusub artifacts/ArduSub.elf - # Find all cyg*.dll files returned by cygcheck for each exe in artifacts # and copy them over for exe in artifacts/*.exe; do