Commit Graph

208 Commits

Author SHA1 Message Date
Ka Ru c5b9f5051f CI: build can-zero board 2023-12-05 07:41:06 -06:00
Peter Barker 96ede5524c .github: clamp empy to version 3
API and syntax hanges make 4 problematic
2023-12-03 17:08:00 +11:00
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
Pierre Kancir 5df7e4e32b .github: update rules 2023-02-04 12:41:06 +11:00
Peter Barker 08f6c56276 .github: remove Disco from size builds
Unable to install compiler package on server for unknown reason
2023-02-03 10:56:22 +00:00
Iampete1 860046bede Actions: Test Size remove stray tab 2023-02-03 08:34:50 +11:00
Peter Barker 571aab63e4 .github: tidy setting of environment variables 2023-02-03 07:15:13 +11:00
Peter Barker 394e9b4eff github: install arm-linux-gnueabihf for Disco size-check 2023-02-02 11:47:04 +11:00
Peter Barker 86947cd829 .github: add disco to build-size checks 2023-02-02 11:47:04 +11:00
Pierre Kancir 161d360dc3 CI: update github action to remove deprecation warnings from logs 2023-01-31 17:58:42 +11:00
Pierre Kancir 14889ed789 CI: add ccache config to test_size 2023-01-31 17:58:42 +11:00
Pierre Kancir aa0afcd037 CI: update github actions to prevent nodejs version warning 2023-01-31 17:58:42 +11:00
Pierre Kancir a25e6bbb2d CI: remove pip progress bar to reduce logs size 2023-01-10 07:18:44 +11:00
Peter Barker 9d2769ddb1 .github: move to compiling 64-bit Windows executables
cygwin has dropped 32-bit support
2022-12-08 18:03:19 +11:00
Buzz d85992613b .github: add esp32 build to CI
with binaries

less verbose

ESP32: fix bootloader build - reduce esp32 bootloader compile size and capture binaries
2022-11-28 20:32:22 +11:00
Peter Barker 098ed891a2 .github: stop using choco to install cygwin packages
Instead use a github action to install cygwin and the packages we require.

chocolately's cygwin integration appears to have broken - installing cygwin directly using a convenient github action seems preferable than putting up with further breakage past this one.
2022-10-31 17:03:15 +11:00
Iampete1 7f4c12dc28 actions: only run single vehicle check for vehicle directory change 2022-10-25 10:20:15 +11:00
Iampete1 00e0a0b06f github: workflows: add scripting docs compare 2022-10-19 18:35:32 +11:00
Andrew Tridgell ab7582af7c CI: only run test_size on a pull request 2022-10-08 10:31:27 +11:00
Peter Barker 863b8dc84a .github: feature-compare PR branch vs master 2022-10-07 09:08:22 +11:00
Andrew Tridgell 3082506921 CI: don't try and build fmuv3 bootloader with gcc 6
doesn't fit
2022-10-06 10:31:51 +11:00
Andrew Tridgell 6e310f4e4e CI: test build fmuv3 bootloader in CI
fmuv3 and other 16k bootloaders were broken by a recent change
2022-10-06 10:31:51 +11:00
Andrew Tridgell 2e6bcbd2cf CI: use base branch for test size
allow test size CI to run for beta builds
2022-10-04 12:06:04 +11:00
Andrew Tridgell ddf770330d CI: added test of signed firmware builds 2022-09-05 12:35:37 +10:00
Andrew Tridgell 760e5aa43d CI: update dronecan python on cygwin build 2022-08-24 18:08:40 +10:00
Peter Barker 2059d1485e CI: test sailboat in CI 2022-08-19 17:04:25 +10:00
Andrew Tridgell 2f4a3ea4e8 CI: added CubeOrange-ODID build 2022-08-09 14:37:08 +10:00
Peter Barker fed0c28d0a .github: add CI test to build with default build_options.py output
hopefully make defaults builds on the build server work all the time
2022-07-22 08:48:16 +10:00
Peter Barker d5f2a95417 autotest: build Heli in parallel to Copter
CI always seems to have the heli tests stuck out at the end.  This should fix that at tthe cost of a few extra seconds of compilation
2022-07-10 21:01:42 +10:00
Pierre Kancir 2b4a68fdbe CI: remove xenial from env config 2022-07-06 18:06:47 +10:00
Pierre Kancir 8af5763af3 CI: fix arch dev env install 2022-07-06 18:06:47 +10:00
Pierre Kancir 56e5dd1748 CI: fix coverage reset: unknown terminal type unknown 2022-05-25 06:43:37 +10:00
Pierre Kancir 9b3a20aacb CI: solve git rev-parse issue 2022-05-25 06:42:57 +10:00
Iampete1 8167995107 actions: skip periph check on gcc6 2022-04-20 18:28:50 +10:00
Peter Barker fa293fd5f3 github: set GIT_VERSION_INT to consistent value for checksum tests
For consistent git hashes
2022-04-12 11:47:48 +10:00
Andrew Tridgell cf8d1473b3 CI: fail cygwin build if we don't get the binaries 2022-03-09 14:08:26 +11:00
Andrew Tridgell 54208574f0 CI: use common ccache environment
and enable CCACHE_SLOPPINESS=file_stat_matches
2022-03-02 18:29:00 +11:00
Andrew Tridgell 6b962ae48b CI: added ccache test 2022-02-23 12:36:59 +11:00
Peter Barker e0d1fd11ee .github: compile with no versions and check for binary equivalence
If a change is not supposed to change build outcomes this will help show
it
2022-01-18 11:30:41 +11:00
Peter Barker 435055d39c .github: switch size-test targets to VRUBrain-v51, f103-GPS and Hitec-Airspeed 2022-01-12 23:09:01 +11:00
Peter Barker 98196e3cdd github: use zip rather than tar for elf_diff artifact 2021-12-11 10:20:35 +11:00
Andrew Tridgell 68ed809f8b CI: removed old dsdl/ardupilot reference 2021-12-06 20:17:02 +11:00
Andrew Tridgell 5965bd6f5a CI: fixed DSDL paths 2021-12-06 20:17:02 +11:00
bugobliterator 04ccb58f39 .github: change to using dronecan instead of uavcan 2021-11-24 18:30:47 +11:00
Josh Henderson 513a6f8a96 Github: test_size fix elf_diff artifact naming for different board types 2021-11-16 17:13:51 +11:00
Peter Barker a0418eaab5 .github: install anytree along with elf_diff
new unstated dependency which is causing CI to fall over
2021-11-06 12:29:22 +11:00
Andrew Tridgell 32e318efcb CI: add empy and pexpect to cygwin build 2021-10-26 19:15:31 +11:00
bugobliterator b0aa456daa .github: update location of canard_dsdlc 2021-10-14 20:13:06 +11:00
bugobliterator 8f11c3b3a5 .github: add canard generator test in CI 2021-10-14 20:13:06 +11:00
Peter Barker 495ec52a00 .github: produce elf_diff output for Plane 2021-10-12 10:58:16 +11:00
Pierre Kancir 9a2df7c159 .github: test dev environment scripts 2021-10-07 10:05:04 +11:00