Commit Graph

171 Commits

Author SHA1 Message Date
Pierre Kancir 5ca1e48040 Tools: build_ci: use /tmp/pip-cache for cache 2024-11-27 09:07:18 +11:00
Pierre Kancir a4b27c6c37 Tools: build_ci: disable .profile check on github actions 2024-11-24 06:55:29 +11:00
Pierre Kancir 95a273e18a Tools: build_ci: disable pip root user warning on CI
Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
2024-11-24 06:55:29 +11:00
Pierre Kancir 7980fabeeb Tools: build_ci: disable pip progressbar, use /tmp/pip-cache for cache
prevent :

The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
2024-11-24 06:55:29 +11:00
bugobliterator 44ef597647 .github: add CubeNode-ETH build to CI 2024-11-15 11:25:19 +11:00
Ryan Friedman 8354bedd51 Tools: Recommend what to do when astyle fails
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-14 09:02:21 +11:00
Peter Barker 9e4bdf31b8 Tools: add logger metadata generation to CI 2024-11-05 09:02:27 +09:00
Peter Barker 653aff7f8a Tools: 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 35c25be37e Tools: stop invoking setup.py directly
the command-line interface for setup.py is deprecated

See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
2024-09-19 11:43:03 +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
Andrew Tridgell bcf19b6d0d Tools: adjust usage of --enable for uppercase names 2024-09-11 16:11:22 +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
Andrew Tridgell 90ab6adebc CI: added test for new without NEW_NOTHROW 2024-06-04 09:20:21 +10:00
Andrew Tridgell 40fc2eb91c Tools: use previous release of pymonocypher 2024-05-10 16:17:17 +10:00
Andrew Tridgell e019488dcc CI: added a 6X plane build for SOHW 2024-03-18 14:12:25 +11:00
Peter Barker f88d0a7d54 build_ci.sh: do a test build with HAL_LOGGING_ENABLED false 2024-03-06 18:40:34 +11:00
Andrew Tridgell 03910b8df4 Tools: run examples with SITL 2024-02-28 19:22:14 +11:00
Peter Barker 492bbe4830 Tools: remove HerePro
to be replaced by a HereProAP
2024-02-15 13:42:14 +11:00
Richard Marko 04b46678a4 treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00
Andrew Tridgell ebe7fc23b3 Tools: build a web enabled bootloader in CI 2024-01-21 12:30:08 +11:00
Peter Barker a77df87b01 Tools: rename sim_periph_gps to sim_gps_universal, recreate sim_periph_gps 2024-01-16 12:16:35 +11:00
Andrew Tridgell 2e8be66353 CI: added Pixhawk6X-PPPGW to CI builds 2024-01-12 19:06:49 -08:00
Andrew Tridgell 40e9b94f58 CI: test sim-on-hw build in CI 2024-01-07 20:51:55 +11:00
Andrew Tridgell f4e731781d CI: debug ppp install 2024-01-03 12:14:47 +11:00
Andrew Tridgell eb6c62f319 CI: added CubeOrange-PPP build test 2024-01-03 12:14:47 +11:00
Peter Barker 6809f243f1 Tools: CI: build AP_Periph parameters in CI 2023-11-22 21:43:53 -08:00
Pierre Kancir 1d7d6328bb Tools: make CI output junit xml results 2023-11-22 18:32:19 +11:00
Michelle Rossouw b57d17123f Tools: Add simple Blimp autotest, testing Manual, Loiter and RTL modes 2023-08-26 22:21:59 +10:00
Andrew Tridgell 08fd7973e2 Tools: removed force32 bit option for sitltest-can
multicast does not work on CI as 32 bit binary
2023-08-24 13:06:40 +10:00
Ryan Friedman 4447e87098 Tools: Build DDS tests in CI
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-24 07:46:06 +10:00
Ryan Friedman a56782546d Tools: Allow enforcing astyle in CLI automatically
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-19 20:26:55 +10:00
Ryan Friedman 5803dd9b23 scripts: Only enable Werror in boards.py rather than build_ci.sh
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-05 09:09:13 +10:00
Ryan Friedman 8d1937866b Tools: Only enable -Werr for SITL when compiling with g++
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-05 09:09:13 +10:00
Ryan Friedman 7b4d37ac43 Tools: Enable -Werr for SITL
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-06-05 09:09:13 +10:00
Andrew Tridgell 4946ce5431 HAL_ChibiOS: revert recent USB changes
these are causing some boards to crash on startup. Tested with a
QiotekZealotH743 which doesn't get out of setup_usb_strings()

once we have debugged this we can re-add the functionality
2023-06-03 16:50:30 +10:00
bugobliterator b5f303e5e7 Tools: use HereProAP instead of HerePro 2023-05-31 18:40:17 +10:00
bugobliterator ec2eedd95b Tools: add CubeRedPrimary-bootloader target to build_ci 2023-04-26 18:04:00 +10:00
Andrew Tridgell 6944e73c57 Tools: fixed build of CPUInfo and other tools 2023-04-10 16:48:50 +10:00
Peter Barker cdb4012886 Tools: enforce astyle formatting in AP_DDS 2023-04-07 18:21:14 +10:00
bugobliterator d0b79959e7 Tools: scripts: replace sitl-32bit with force-32bit 2023-03-29 17:16:39 +11:00
bugobliterator c386f9bdcd Tools: add force-32bit option while building sitl for CAN test 2023-03-29 17:16:39 +11:00
Pierre Kancir 546e70ff92 Tools: split dds test into SITL and STM 2023-03-22 09:22:36 +11:00
Ryan Friedman f604dd5cdf Tools: CI: Add building DDS to a STM32H7 board
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-03-22 09:22:36 +11:00
bugobliterator 327ec0c355 Tools: enable aux IMUs while testing Plane 2023-03-21 10:04:16 +11:00
Peter Barker f2e34befe4 CI: add explicit param_parse CI_BUILD_TARGET options
currently any time you run this script it seems to do this step
2023-03-11 10:49:06 +11:00
Peter Barker aed69928ee CI: ensure we don't break autotest help options 2023-03-11 10:49:06 +11:00
Peter Barker 8bee03a7b6 Tools: add ci action to validate bord list 2023-03-08 11:51:36 -08:00
Peter Barker befcba61fa Tools: use build_iofirmware.py in build_ci.sh 2023-03-01 09:50:59 +11:00
Pierre Kancir 4053b4a57f Tools: build_ci: speedup git download operations 2023-02-15 09:05:17 -08:00