Tools: cope with change in cygwin build

copy both with and without exe extension
This commit is contained in:
Andrew Tridgell 2022-06-07 06:41:02 +10:00
parent 0b357faf7e
commit f0c3d5129c

View File

@ -24,6 +24,14 @@ mkdir artifacts
i686-pc-cygwin-g++ -print-sysroot
# copy both with exe and without to cope with differences
# between windows versions in CI
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
@ -33,3 +41,4 @@ cp -v build/sitl/bin/ardusub artifacts/ArduSub.elf
cp -v /usr/i686-pc-cygwin/sys-root/usr/bin/*.dll artifacts/
git log -1 > artifacts/git.txt
ls -l artifacts/