mirror of https://github.com/ArduPilot/ardupilot
36 lines
888 B
YAML
36 lines
888 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-20.04
|
|
container: ardupilot/ardupilot-dev-base:latest
|
|
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@v3
|
|
with:
|
|
submodules: 'recursive'
|
|
- name: test ${{matrix.config}}
|
|
env:
|
|
CI_BUILD_TARGET: ${{matrix.config}}
|
|
shell: bash
|
|
run: |
|
|
sudo apt update
|
|
sudo apt-get install -y astyle
|
|
Tools/scripts/build_ci.sh
|