Commit Graph

139 Commits

Author SHA1 Message Date
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