forked from ArduPilot/ardupilot
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 921 Bytes
/
test_scripts.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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