AP_Periph: fixed build with scripting #1546
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | |
logger_metadata, | |
] | |
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: | | |
git config --global --add safe.directory ${GITHUB_WORKSPACE} | |
Tools/scripts/build_ci.sh |