Commit Graph

40 Commits

Author SHA1 Message Date
Michelle Rossouw e9331827ac .github: Add KakuteF7 and MatekH743-bdshot boards to test size boards 2023-10-01 16:36:56 +11: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 17b1a4c387 .github: don't tests everyting for environment tests workflow change 2023-08-23 17:15:56 +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 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
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
Tom Pittenger fd32425d24 github: allow test_size to work outside of upstream repo 2023-03-12 16:57:33 +11:00
Peter Barker 569dbcad88 .github: test MatekF405-CAN bootloader builds 2023-02-28 10:17:56 +11:00
Pierre Kancir 066410715b .github: fix some variables naming 2023-02-17 11:33:00 +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 dcb2225f03 .github: fix disco test again 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
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 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
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 54208574f0 CI: use common ccache environment
and enable CCACHE_SLOPPINESS=file_stat_matches
2022-03-02 18:29:00 +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
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
Peter Barker 495ec52a00 .github: produce elf_diff output for Plane 2021-10-12 10:58:16 +11:00
Peter Barker 221e7c612e github: build MatekF405 with/without HAL_QUADPLANE_ENABLED 2021-09-14 18:31:43 +10:00
Pierre Kancir 9f4b76f0ef .github: allow to skip previous CI jobs on PR 2021-06-24 08:29:44 +10:00
Pierre Kancir ada6649be3 CI: add size test 2021-03-03 18:56:55 +11:00