Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: bundle lua scripts with SITL #264

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading