mirror of https://github.com/ArduPilot/ardupilot
34 lines
821 B
YAML
34 lines
821 B
YAML
name: test scripts
|
|
|
|
on: [push, pull_request, workflow_dispatch]
|
|
|
|
concurrency:
|
|
group: ci-${{github.workflow}}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
container: ardupilot/ardupilot-dev-base:v0.1.3
|
|
strategy:
|
|
fail-fast: false # don't cancel if a job from the matrix fails
|
|
matrix:
|
|
config: [
|
|
check_autotest_options,
|
|
param_parse,
|
|
python-cleanliness,
|
|
astyle-cleanliness,
|
|
validate_board_list,
|
|
]
|
|
steps:
|
|
# git checkout the PR
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: 'recursive'
|
|
- name: test ${{matrix.config}}
|
|
env:
|
|
CI_BUILD_TARGET: ${{matrix.config}}
|
|
shell: bash
|
|
run: |
|
|
Tools/scripts/build_ci.sh
|