mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
ci: run make on external script
This commit is contained in:
parent
166bf22cb7
commit
fa8c4ff7c9
6
.github/workflows/build_all_targets.yml
vendored
6
.github/workflows/build_all_targets.yml
vendored
@ -60,11 +60,7 @@ jobs:
|
||||
|
||||
- name: build target group
|
||||
run: |
|
||||
matrix_targets=${{matrix.targets}}
|
||||
for target in ${matrix_targets//,/ }
|
||||
do
|
||||
make $target
|
||||
done
|
||||
./Tools/ci_build_all_runner.sh ${{matrix.targets}}
|
||||
|
||||
- name: ccache post-run
|
||||
run: ccache -s
|
||||
|
||||
9
Tools/ci_build_all_runner.sh
Executable file
9
Tools/ci_build_all_runner.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
# This script is meant to be used by the build_all.yml workflow in a github runner
|
||||
# Please only modify if you know what you are doing
|
||||
|
||||
targets=$1
|
||||
for target in ${targets//,/ }
|
||||
do
|
||||
make $target
|
||||
done
|
||||
Loading…
x
Reference in New Issue
Block a user