Commit Graph

143 Commits

Author SHA1 Message Date
Ryan Friedman bf6bd3a023 .github: Enable colcon tests in DDS CI
* Use checkout v4 to pull in ArduPilot into a subdir first
* Enable console cohesion during test since JUnit reporting is out of
  scope
* Install mavproxy separately as needed, alternative to --console
* Hide wget progress
* Install local pymavlink

Co-authored-by: Pierre Kancir <khancyr@gmail.com>
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-26 10:36:20 +11:00
Pierre Kancir 879937fffe .github: update actions/checkout to v4 2023-11-22 18:32:19 +11:00
Pierre Kancir aeed2c113c .github: move containers to v0.1.3 to include latest python stuff 2023-11-22 18:32:19 +11:00
Pierre Kancir 63a836e013 .github: move containers to v0.1.1 to include junitparser 2023-11-22 18:32:19 +11:00
Peter Barker 816adbf820 github: test mantic not bionic
bionic no longer builds  SITL:
../../libraries/AP_Logger/AP_Logger_Backend.cpp: In member function 'bool AP_Logger_Backend::Write_VER()':
../../libraries/AP_Logger/AP_Logger_Backend.cpp:577:5: sorry, unimplemented: non-trivial designated initializers not supported
     };
     ^
compilation terminated due to -Wfatal-errors.
2023-10-16 09:12:42 +11:00
Michelle Rossouw e9331827ac .github: Add KakuteF7 and MatekH743-bdshot boards to test size boards 2023-10-01 16:36:56 +11:00
Pierre Kancir 765ac299e7 .github: as per archlinux wiki don't do partial upgrade
https://wiki.archlinux.org/title/System_maintenance#Upgrading_the_system
2023-09-07 07:48:31 +10:00
Pierre Kancir d620a1905a .github: use ubuntu-22.04 instead of ubuntu-latest 2023-09-07 07:48:31 +10:00
Pierre Kancir 35b2463069 .github: migrate to docker container based on 22.04 2023-09-07 07:48:31 +10:00
Pierre Kancir c1accc7915 .github: move github action to ubuntu22.04
# Conflicts:
#	.github/workflows/test_scripts.yml
2023-09-07 07:48:31 +10:00
Pierre Kancir f404490a76 .github: remove astyle install as part of docker now 2023-09-07 07:48:31 +10:00
Andrew Tridgell 47eb597dd6 CI: don't load vcan kernel modules
not needed any more
2023-08-29 15:09:48 +10:00
Michelle Rossouw 1d138c7630 .github: Add Blimp autotest to github workflows 2023-08-26 22:21:59 +10:00
Andy Piper cfd03aace7 github: reduce ccache percentage to allow tests to pass 2023-08-23 18:25:26 +10:00
Pierre Kancir 17b1a4c387 .github: don't tests everyting for environment tests workflow change 2023-08-23 17:15:56 +10:00
Pierre Kancir f7ddb69367 .github: fix environement test workflow 2023-08-23 17:15:56 +10:00
Pierre Kancir 2b8a605fd2 Tools: use venv on Archlinux to fix install 2023-08-23 17:15:56 +10:00
Andy Piper 0d7fbc7bf3 github: change ccache board comparisons 2023-08-15 06:53:48 +10:00
Peter Barker 6429295869 github: remove elf_diff from checks we run
We had previous discussed removing this as it was very-little-used.

Today this workflow died because elf_diff failed to install:

Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.8/dist-packages/elf_diff/__main__.py", line 23, in <module>
    from elf_diff.pair_report_document import generateDocument, ValueTreeNode
  File "/usr/local/lib/python3.8/dist-packages/elf_diff/pair_report_document.py", line 34, in <module>
    import elf_diff.binary as binary
  File "/usr/local/lib/python3.8/dist-packages/elf_diff/binary.py", line 27, in <module>
    from elf_diff.instruction_collector import InstructionCollector
  File "/usr/local/lib/python3.8/dist-packages/elf_diff/instruction_collector.py", line 28, in <module>
    import progressbar  # type: ignore # Make mypy ignore this module
  File "/usr/local/lib/python3.8/dist-packages/progressbar/__init__.py", line 5, in <module>
    from .bar import DataTransferBar
  File "/usr/local/lib/python3.8/dist-packages/progressbar/bar.py", line 13, in <module>
    from python_utils import types
  File "/usr/local/lib/python3.8/dist-packages/python_utils/__init__.py", line 1, in <module>
    from . import (
  File "/usr/local/lib/python3.8/dist-packages/python_utils/aio.py", line 8, in <module>
    from . import types
  File "/usr/local/lib/python3.8/dist-packages/python_utils/types.py", line 4, in <module>
    from typing_extensions import *  # type: ignore  # noqa: F403
ModuleNotFoundError: No module named 'typing_extensions'
2023-05-29 16:47:35 +10:00
Pierre Kancir cc563a6562 .github: fix coverage test 2023-05-24 17:56:58 +10:00
Pierre Kancir 47f8694a6e .github: use fixed revision for docker dev containers 2023-05-18 07:53:52 +10:00
Pierre Kancir c82ebe6e22 .github: add more blacklist for all tests. 2023-05-17 18:36:06 +10:00
Iampete1 6bba31642e Actions: test_size: fix elf diff for vehicles 2023-05-09 11:12:25 +10:00
Andrew Tridgell ed6352f8c0 github: disable py2 testing 2023-05-05 08:54:03 +10:00
Peter Barker a7a6333dea .github: add env test for lunar 2023-05-03 17:13:20 +10:00
bugobliterator 105bfe4cbc .github: add CubeRedPrimary bootloader build test 2023-04-26 18:04:00 +10:00
Andrew Tridgell 50cff80c6e waf: stop testing gcc 6 for ChibiOS builds 2023-04-25 11:29:28 +10:00
Peter Barker 9c64245590 .github: add DrotekP3Pro bootloader to CI
overflowed and we didn't know about it
2023-04-19 19:05:14 +10:00
Peter Barker cdb4012886 Tools: enforce astyle formatting in AP_DDS 2023-04-07 18:21:14 +10:00
Pierre Kancir 0fdb1eb8a7 .github: replace testing of Hirsute by Jammy
Hirsute is OEL and don't work for long time
Jammy is 22.04 and should be properly tested
2023-03-24 10:55:35 +11:00
Pierre Kancir d05b598ce5 .github: add dds testing workflow
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Co-authored-by: Pierre Kancir <pierre.kancir.emn@gmail.com>
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
Pierre Kancir 087770f718 .github: add GH cache cleanup on PR close.
Taken from https://docs.github.com/en/actions/using-workflows/caching-depehttps://github.com/actions/cache/blob/main/tips-and-workarounds.md#force-deletion-of-caches-overriding-default-cache-eviction-policy
2023-03-21 09:14:30 +11:00
Tom Pittenger fd32425d24 github: allow test_size to work outside of upstream repo 2023-03-12 16:57:33 +11:00
Peter Barker 1391892406 .github: run python cleanliness and validate board list only once 2023-03-11 10:49:06 +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 0c2fc6165a .github: add ci action to validate bord list 2023-03-08 11:51:36 -08:00
Peter Barker 569dbcad88 .github: test MatekF405-CAN bootloader builds 2023-02-28 10:17:56 +11:00
Pierre Kancir e0728aa088 .github: add and use ccache on cygwin build 2023-02-24 11:12:48 +11:00
Pierre Kancir b3f06651cf .github: only do restore cache on sitl tests 2023-02-17 11:33:00 +11:00
Pierre Kancir 9879d6651e .github: update cache key 2023-02-17 11:33:00 +11:00
Pierre Kancir 066410715b .github: fix some variables naming 2023-02-17 11:33:00 +11:00
Iampete1 d76077b921 Actions: add luacheck linter 2023-02-15 19:38:46 +11:00
Peter Barker 0278773ea6 .github: set -ex in test_size.yml workflow 2023-02-11 10:02:20 +11:00
Peter Barker ba51b56865 .github: correct extract features for AP_Periph 2023-02-10 16:24:41 +11:00
Pierre Kancir 34518e433f .github: don't duplicate python test with clang 2023-02-04 12:41:06 +11:00
Pierre Kancir dcb2225f03 .github: fix disco test again 2023-02-04 12:41:06 +11:00
Pierre Kancir fa497363e8 .github: use periph image for periph tests 2023-02-04 12:41:06 +11:00
Pierre Kancir a694b68519 .github: fix git directory permissions 2023-02-04 12:41:06 +11:00