2023-03-08 21:55:00 -04:00
|
|
|
name: test scripts
|
|
|
|
|
|
|
|
on: [push, pull_request, workflow_dispatch]
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ci-${{github.workflow}}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-08-31 18:25:51 -03:00
|
|
|
runs-on: ubuntu-22.04
|
2023-11-21 17:27:07 -04:00
|
|
|
container: ardupilot/ardupilot-dev-base:v0.1.3
|
2023-03-08 21:55:00 -04:00
|
|
|
strategy:
|
|
|
|
fail-fast: false # don't cancel if a job from the matrix fails
|
|
|
|
matrix:
|
|
|
|
config: [
|
2023-03-08 21:59:09 -04:00
|
|
|
check_autotest_options,
|
|
|
|
param_parse,
|
2023-03-09 18:46:02 -04:00
|
|
|
python-cleanliness,
|
2023-04-04 23:59:12 -03:00
|
|
|
astyle-cleanliness,
|
2023-03-09 18:46:02 -04:00
|
|
|
validate_board_list,
|
2024-10-19 21:21:30 -03:00
|
|
|
logger_metadata,
|
2023-03-09 18:46:02 -04:00
|
|
|
]
|
2023-03-08 21:55:00 -04:00
|
|
|
steps:
|
|
|
|
# git checkout the PR
|
2023-11-21 17:29:41 -04:00
|
|
|
- uses: actions/checkout@v4
|
2023-03-08 21:55:00 -04:00
|
|
|
with:
|
|
|
|
submodules: 'recursive'
|
|
|
|
- name: test ${{matrix.config}}
|
|
|
|
env:
|
|
|
|
CI_BUILD_TARGET: ${{matrix.config}}
|
|
|
|
shell: bash
|
|
|
|
run: |
|
2024-07-22 14:17:23 -03:00
|
|
|
git config --global --add safe.directory ${GITHUB_WORKSPACE}
|
2023-03-08 21:55:00 -04:00
|
|
|
Tools/scripts/build_ci.sh
|