Peter Barker
fa554d74bb
.github: set dummy GIT_VERSION_EXTENDED for repeatible bootloader builds
2025-08-04 09:12:59 +01:00
Iampete1
672533492f
actions: test scripting: run_lua_language_check: run with debug logging
2025-07-28 09:46:01 +10:00
dependabot[bot]
8d093552a7
.github: Bump the github-actions group with 2 updates
...
Bumps the github-actions group with 2 updates: [cygwin/cygwin-install-action](https://github.com/cygwin/cygwin-install-action ) and [andstor/file-existence-action](https://github.com/andstor/file-existence-action ).
Updates `cygwin/cygwin-install-action` from 5 to 6
- [Release notes](https://github.com/cygwin/cygwin-install-action/releases )
- [Commits](https://github.com/cygwin/cygwin-install-action/compare/v5...v6 )
Updates `andstor/file-existence-action` from 2 to 3
- [Release notes](https://github.com/andstor/file-existence-action/releases )
- [Commits](https://github.com/andstor/file-existence-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: cygwin/cygwin-install-action
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: andstor/file-existence-action
dependency-version: '3'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-15 14:43:18 -05:00
Peter Barker
e9da6bd4d0
.github: remove dump-github diagnostic step
...
github is making the variable substition, leading there to there being a closing quroate on the echo line within the existing single quotes. That's bad when shell is parsing that line; it starts to try to run it as a shell script
This was just supposed to make life easier for the next person seeing what was in this object - so we can just remove it.
2025-07-08 23:07:10 +10:00
Peter Barker
cb84a8e82e
.github: branch conventions: correct fetching of delta-commits for checking
...
turns out origin isn't the place you're merging into when you use the workflow with ref:
2025-07-08 05:46:31 +10:00
Peter Barker
6911910517
.github: print Python3 version out as part of preparing env
2025-07-06 10:04:04 -05:00
Peter Barker
e58a0e7719
.github: test_branch_conventions.py: test for fixup commits and commits lacking a :
2025-07-06 23:24:32 +10:00
Thomas Watson
d445f1675a
.github: fix test size to compare size of no-version binaries
...
Somewhat unbelievably, the commit hash having certain values can
actually change the size of the binary. GCC might be able to identify
another string as a suffix of the commit hash string and therefore be
able to omit that other string and replace it with a pointer into the
middle of the commit hash string. This has been observed of the cause of
spurious size differences in CI.
The `no_version` binaries with constant commit hashes are the ones that
are compared for features and contents, and they are compatible with the
size compare script, so let's compare their sizes instead.
This does beg the question as to why we re-compile with these
environment variables instead of starting with them (perhaps ccache?),
nor why we manually set them instead of using the relevant `waf` flag,
but those can be future improvements.
2025-07-06 20:19:59 +10:00
Thomas Watson
339aae4fa5
.github: fix test size workflow to ignore abin files
...
`*.elf` files don't exist (the built ELF files instead have no
extension). `*.apj` and `*.abin` files both have git hashes inside so
they will always differ. Correctly ignore them and compare only ELF and
`*.bin`.
Also rename the action as it compares the full file, not a checksum.
Avoids always claiming that MatekH743-bdshot has a difference.
2025-07-06 12:37:25 +10:00
Peter Barker
54d049f806
.github: add test that there are no Merge commits in the branch
2025-07-02 19:33:08 +10:00
Christian Clauss
511e8d8ad6
colcon: Use current flake8 in GitHub Action
...
This GitHub Action fails occasionally, so let's upgrade its flake8 to see if that provides more stable runs.
https://pypi.org/project/flake8 --> v7.2.0
flake8: Both the local issue and the flake8 issue it points to were closed 4 or 5 years ago, so let's test with current flake8.
2025-06-26 18:56:13 +10:00
Christian Clauss
f5514dd578
Add pre-commit to GitHub Actions
...
In a GitHub Action, run `pre-commit run --all-files` on all pull requests.
Fixes : #24555
2025-06-25 15:09:57 +10:00
Rhys Mainwaring
b1ffad7abb
Tools: ros2: increase pytest verbosity and run stepwise
...
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com >
2025-06-22 18:07:55 +10:00
Christian Clauss
82f8febe3c
colcon: Use current MAVProxy in GitHub Action
...
This GitHub Action fails occasionally, so let's upgrade its MAVProxy to see if that provides more stable runs.
* https://pypi.org/project/MAVProxy --> v1.8.71
Given the changes in MAVProxy, should we upgrade?
* https://github.com/ArduPilot/MAVProxy/releases
---
`pip install -U` can be quite opaque to readers because `pip install` currently has six `--u*` options.
% `python3 -m pip install --help | grep "\-\-u"`
```
--user Install to the Python user install directory for
-U, --upgrade Upgrade all specified packages to the newest
--upgrade-strategy <upgrade_strategy>
--use-pep517 Use PEP 517 for building source distributions
--use-feature <feature> Enable new functionality, that may be backward
--use-deprecated <feature> Enable deprecated functionality, that will be
```
2025-06-20 17:23:14 -05:00
Ryan Friedman
e8af50da32
.github: Pin uXRCEDDSGen and use depth 1
...
* Allows development to proceed on master without breaking ardupilot
again
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com >
2025-06-20 21:26:18 +10:00
Thomas Watson
1c3297a67b
.github: upgrade Cygwin to use Python 3.9
...
Python 3.12 is also available, but some packages are not.
2025-06-19 21:27:25 +10:00
Peter Barker
0ba11a5d65
.github: install microxrceddsgen from source
...
... until image is udpated
2025-06-12 16:58:33 +10:00
Bob Long
9ab96d7539
.github: add parameter validation to CI
2025-06-10 22:14:13 +10:00
Peter Barker
0bf65c3a87
.github: adjust workflow for change in github workspace path
...
changing the permissions seems to change the path to the workspace; use the supplied variable for what it's good for
2025-06-10 08:50:33 +10:00
Thomas Watson
2afc682995
CI: revert "build CubeRed-EKF2 not CubeOrange-EKF2 in CI"
...
This reverts commit c6491d6b45 .
CubeOrange now has oodles of flash and CubeRed is out.
2025-04-29 15:44:29 +09:00
Iampete1
1c4c06851e
actions: update scripting autotest
2025-04-29 11:29:28 +10:00
Peter Barker
4d551aa600
Tools: correct nm argument to extract_features.py
2025-03-11 13:26:11 +11:00
Thomas Watson
e9e4a207af
Tools: drop Ubuntu Bionic and Debian Buster
...
They have been past end of support for nearly one year and nearly two
years respectively. Allows us to require at minimum Python 3.8.
2025-03-10 12:47:43 +11:00
Peter Barker
665b7808d9
.github: re-enable examples
...
these were problematic with random failures due to Linux HAL's manipulation of the terminal. That was a long time ago.
2025-02-13 09:59:49 +11:00
Peter Barker
f6922db451
.github: exclude QURT changes when running various workflows
...
as we do ESP32 and ChibiOS when running SITL
2025-02-05 17:57:55 +11:00
Peter Barker
d7be789cd9
.github: use python3 -m pip to install Python packages
2025-01-28 21:56:05 +11:00
Andy Piper
9beb09f80f
github: add MambaH743v4 to size workflow
2025-01-21 11:10:31 +11:00
Thomas Watson
f3e610cdd8
CI: use latest released version of Cygwin install action
...
Using the master branch exposed us to transient breakage as the action
was developed.
2025-01-07 13:08:33 +11:00
Peter Barker
79e8c89cd4
Revert "CI: disable ccache for MacOS builds"
...
This reverts commit c4327161bc .
2024-12-27 21:32:36 +11:00
Andrew Tridgell
c4327161bc
CI: disable ccache for MacOS builds
...
ccache is segfaulting in CI on MacOS
2024-12-27 11:46:01 +11:00
Iampete1
ccf4407d44
actions: add problem matcher to lua checks
2024-12-21 15:37:07 +11:00
Peter Barker
c8b2663593
.github: stop making python python3
...
this isn't something we should be doing to people's environments
2024-12-17 09:19:20 +11:00
Rhys Mainwaring
cc754ed73f
.github: esp32_build: use default cmake package
...
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com >
2024-12-15 08:55:04 -06:00
Pierre Kancir
a570794daa
.github: remove mantic test from environnement testing EOL
2024-11-26 15:41:16 +11:00
Pierre Kancir
c4e72e691f
.github: output size diff output to summary
2024-11-26 15:41:03 +11:00
Pierre Kancir
2cd0ac1e35
Tools: move pretty_diff_size to Tools/build_tests
2024-11-26 15:41:03 +11:00
Pierre Kancir
d7d4aeb72b
.github: update actions/cache to v4 to remove node version warning
2024-11-24 06:55:29 +11:00
Pierre Kancir
b353765db1
.github: update actions/cache to v4 to remove node version warning
...
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3.
2024-11-08 10:48:44 +11:00
Peter Barker
84d8af81f6
.github: add logger metadata generation to CI
2024-11-05 09:02:27 +09:00
Andrew Tridgell
73360c7299
HAL_QURT: build deb packages in CI
2024-10-26 08:26:42 +09:00
Peter Barker
cbed802ff6
.github: remove use of python (as opposed to python3)
2024-10-15 11:11:38 +11:00
Peter Barker
c330e8e824
.github: 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
90fd24de43
.github: use problem matches on Rover, Copter and Sub SITL
2024-10-01 09:15:33 +10:00
Peter Barker
72016df914
github: move to actions/upload-artifact@v4
...
v3 is being deprecated, and this one claims to have advantages including the keyword "faster"
2024-09-30 19:46:22 +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
Ryan Friedman
d6cfc392a2
.github: Run colcon-test sequentially and test all AP packages
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com >
2024-09-06 21:28:25 +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
Peter Barker
bdea9be7fb
Tools: LogAnalyzer: remove
...
the web-based tools are supplanting this
2024-08-20 09:32:46 +10:00
Pierre Kancir
61bd5e9bae
.github: add alpine to environement setup test
2024-08-15 22:33:42 +10:00