Skip to content

Commit

Permalink
CI: bundle lua scripts with SITL
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong13 committed Dec 9, 2024
1 parent 971ad70 commit ad1b972
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Tools/scripts/cygwin_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ for exe in artifacts/*.exe; do
done
done

# Process Carbonix SITL parameters
# Process Carbonix SITL parameters and scripts
for file in libraries/AP_HAL_ChibiOS/hwdef/CarbonixCommon/sitl_params/*.parm
do
destfolder=artifacts/$(basename $file .parm)-${FIRMWARE_VERSION}-${COMMIT_ID}
Expand All @@ -76,6 +76,9 @@ do
model="quadplane"
fi
printf "rem Launch at Eli Field\r\n..\\${FIRMWARE_VERSION}-${COMMIT_ID}.exe -O 40.0594626,-88.5513292,206.0,0 --serial0 tcp:0 -M ${model} --defaults defaults.parm\r\n" > $destfolder/launch.bat

# Copy lua scripts
cp -vR libraries/AP_HAL_ChibiOS/hwdef/CarbonixCommon/scripts $destfolder
done

git log -1 > artifacts/git.txt
Expand Down

0 comments on commit ad1b972

Please sign in to comment.