Skip to content

Commit

Permalink
Tools: cygwin_build: error if part of build fails
Browse files Browse the repository at this point in the history
also ensure cygwin build in CI is parallelized
  • Loading branch information
robertlong13 committed Jan 2, 2025
1 parent 6583912 commit 1487992
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tools/scripts/cygwin_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# the script assumes you start in the root of the ardupilot git tree

set -x
set -e

# Get Carbonix version number
FIRMWARE_VERSION=$(grep -oP 'define AP_CUSTOM_FIRMWARE_STRING "\K(.*)(?=")' libraries/AP_HAL_ChibiOS/hwdef/CarbonixCommon/version.inc)
Expand All @@ -26,7 +27,7 @@ mkdir artifacts

(
python ./waf --color yes --toolchain $TOOLCHAIN --board sitl configure --define AP_CUSTOM_FIRMWARE_STRING=\"$FIRMWARE_VERSION\" 2>&1
python ./waf plane 2>&1
python ./waf plane -j8 2>&1
) | tee artifacts/build.txt
# python ./waf copter 2>&1
# python ./waf heli 2>&1
Expand Down

0 comments on commit 1487992

Please sign in to comment.