Commit Graph

217 Commits

Author SHA1 Message Date
Peter Barker
4d551aa600 Tools: correct nm argument to extract_features.py 2025-03-11 13:26:11 +11:00
Thomas Watson
e9e4a207af Tools: drop Ubuntu Bionic and Debian Buster
They have been past end of support for nearly one year and nearly two
years respectively. Allows us to require at minimum Python 3.8.
2025-03-10 12:47:43 +11:00
Peter Barker
665b7808d9 .github: re-enable examples
these were problematic with random failures due to Linux HAL's manipulation of the terminal.  That was a long time ago.
2025-02-13 09:59:49 +11:00
Peter Barker
f6922db451 .github: exclude QURT changes when running various workflows
as we do ESP32 and ChibiOS when running SITL
2025-02-05 17:57:55 +11:00
Peter Barker
d7be789cd9 .github: use python3 -m pip to install Python packages 2025-01-28 21:56:05 +11:00
Andy Piper
9beb09f80f github: add MambaH743v4 to size workflow 2025-01-21 11:10:31 +11:00
Thomas Watson
f3e610cdd8 CI: use latest released version of Cygwin install action
Using the master branch exposed us to transient breakage as the action
was developed.
2025-01-07 13:08:33 +11:00
Peter Barker
79e8c89cd4 Revert "CI: disable ccache for MacOS builds"
This reverts commit c4327161bc.
2024-12-27 21:32:36 +11:00
Andrew Tridgell
c4327161bc CI: disable ccache for MacOS builds
ccache is segfaulting in CI on MacOS
2024-12-27 11:46:01 +11:00
Iampete1
ccf4407d44 actions: add problem matcher to lua checks 2024-12-21 15:37:07 +11:00
Peter Barker
c8b2663593 .github: stop making python python3
this isn't something we should be doing to people's environments
2024-12-17 09:19:20 +11:00
Rhys Mainwaring
cc754ed73f .github: esp32_build: use default cmake package
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-12-15 08:55:04 -06:00
Pierre Kancir
a570794daa .github: remove mantic test from environnement testing EOL 2024-11-26 15:41:16 +11:00
Pierre Kancir
c4e72e691f .github: output size diff output to summary 2024-11-26 15:41:03 +11:00
Pierre Kancir
2cd0ac1e35 Tools: move pretty_diff_size to Tools/build_tests 2024-11-26 15:41:03 +11:00
Pierre Kancir
d7d4aeb72b .github: update actions/cache to v4 to remove node version warning 2024-11-24 06:55:29 +11:00
Pierre Kancir
b353765db1 .github: update actions/cache to v4 to remove node version warning
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3.
2024-11-08 10:48:44 +11:00
Peter Barker
84d8af81f6 .github: add logger metadata generation to CI 2024-11-05 09:02:27 +09:00
Andrew Tridgell
73360c7299 HAL_QURT: build deb packages in CI 2024-10-26 08:26:42 +09:00
Peter Barker
cbed802ff6 .github: remove use of python (as opposed to python3) 2024-10-15 11:11:38 +11:00
Peter Barker
c330e8e824 .github: split Plane tests into tests1a and tests1b 2024-10-02 18:10:45 +10:00
Willian Galvani
1a15e50434 CI: add navigator64 build 2024-10-02 06:18:32 +10:00
Peter Barker
0f3667613e .github: adjust problem-matcher to catch individual failed tests 2024-10-01 09:15:33 +10:00
Peter Barker
90fd24de43 .github: use problem matches on Rover, Copter and Sub SITL 2024-10-01 09:15:33 +10:00
Peter Barker
72016df914 github: move to actions/upload-artifact@v4
v3 is being deprecated, and this one claims to have advantages including the keyword "faster"
2024-09-30 19:46:22 +10:00
Peter Barker
c6491d6b45 CI: build CubeBlack-EKF2 not CubeOrange-EKF2 in CI
we really just care that EKF2 builds here, the board really isn't that important
2024-09-19 11:42:37 +10:00
Ryan Friedman
d6cfc392a2 .github: Run colcon-test sequentially and test all AP packages
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-06 21:28:25 +10:00
Peter Barker
adcf5d3503 Tools: Do a CubeOrange build with EKF2 as part of CI
need to build at least one ChibiOS-based board to be sure we haven't killed things
2024-09-06 08:52:01 +10:00
Peter Barker
bdea9be7fb Tools: LogAnalyzer: remove
the web-based tools are supplanting this
2024-08-20 09:32:46 +10:00
Pierre Kancir
61bd5e9bae .github: add alpine to environement setup test 2024-08-15 22:33:42 +10:00
Iampete1
f17545b4c3 Actions: Cygwin: mark repo as safe on using correct path 2024-07-30 11:39:06 +10:00
Iampete1
75d74ccf90 Actions: enviroment and scripts: fix safe directory 2024-07-30 11:39:06 +10:00
Iampete1
4df05bac28 Actions: test environment: increase timeout to 60 mins 2024-07-30 11:39:06 +10:00
Andrew Tridgell
3ddd477d04 CI: only run qurt build on ArduPilot main repo
this prevents user repos getting failures

thanks to Pete for the suggestion
2024-07-29 08:38:56 +10:00
Andrew Tridgell
53222357c4 CI: build copter, plane and rover for QURT 2024-07-13 14:38:31 +10:00
Andrew Tridgell
42737116bf CI: added QURT build to CI 2024-07-12 15:56:48 +10:00
bugobliterator
452df9022b .github: add debug build test for macos 2024-07-05 14:16:27 +10:00
Andrew Tridgell
90ab6adebc CI: added test for new without NEW_NOTHROW 2024-06-04 09:20:21 +10:00
Iampete1
38a7c837fc actions: test_scripting: remove lua-language-server install 2024-05-21 09:42:22 +10:00
Iampete1
c9eb8fb395 actions: run lua-language-check and generate and upload docs 2024-05-21 09:42:22 +10:00
Peter Barker
65bf3adad7 github: test_environment: test Ubuntu noble and not Ubuntu mantic
mantic is EOL, save some CI time
2024-05-10 10:49:21 +10:00
Maxim Buzdalov
5e5fde78c2 Tools: use same-bdshotness boards for ccache test 2024-04-09 10:45:08 +10:00
Andrew Tridgell
e019488dcc CI: added a 6X plane build for SOHW 2024-03-18 14:12:25 +11:00
yuri-rage
8cfa77dbd7 .github: test debian bookworm 2024-03-12 22:06:57 +11:00
Andrew Tridgell
591d65ec91 CI: fix ESP32 CI issue
ensure apt db is up to date before first install
2024-02-25 17:16:46 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
b6b4c972f9 Tools: Script to fetch online ArduPilot parameter documentation (if not cached) and
add it to the specified file or to all *.param and *.parm files in the specified directory.

1. Checks if a local cache of the XML file exists in the target directory or on the directory of the target file:
 - If it does, the script loads the file content.
 - If it doesn't, the script sends a GET request to the URL to fetch the XML data for the requested vehicle type.
2. Parses the XML data and creates a dictionary of parameter documentation.
3. DELETES all comments that start at the beginning of a line
4. Adds the parameter documentation to the target file or to all *.param,*.parm files in the target directory.

Supports AP_Periph, AntennaTracker, ArduCopter, ArduPlane, ArduSub, Blimp, Heli, Rover and SITL vehicle types
Supports both Mission Planner and MAVProxy file formats
Supports sorting the parameters
Has unit tests with 88% coverage

AP_FLAKE8_CLEAN

Author: Amilcar do Carmo Lucas, IAV GmbH

# Conflicts:
#	.github/workflows/test_unit_tests.yml
2024-02-22 08:31:57 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
74640c9e65 Tools: Extracts parameter default values from an ArduPilot .bin file.
Supports Mission Planner, MAVProxy and QGCS file format output

Contains unittests with 95% coverage

Amilcar do Carmo Lucas, IAV GmbH
2024-02-21 18:24:16 +11:00
Andrew Tridgell
eaf40fbfb3 waf: help diagnose dronecangen errors 2024-02-11 16:48:52 +11:00
Pierre Kancir
e728176d4e .github: Autotest build need debug flag, rover also need enable-math-check-indexes. Fix caching 2024-02-10 11:48:40 +11:00
David Buzz
cd44d09d84 github: actions problem solvers , annotations and summary 2024-01-16 13:43:06 +11:00