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-08-18 14:47:52 -03:00
|
|
|
container: ardupilot/ardupilot-dev-base:v0.1.0
|
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,
|
|
|
|
]
|
2023-03-08 21:55:00 -04:00
|
|
|
steps:
|
|
|
|
# git checkout the PR
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
submodules: 'recursive'
|
|
|
|
- name: test ${{matrix.config}}
|
|
|
|
env:
|
|
|
|
CI_BUILD_TARGET: ${{matrix.config}}
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
Tools/scripts/build_ci.sh
|