mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-12 21:11:37 +08:00
ci: run make on external script
This commit is contained in:
@@ -60,11 +60,7 @@ jobs:
|
|||||||
|
|
||||||
- name: build target group
|
- name: build target group
|
||||||
run: |
|
run: |
|
||||||
matrix_targets=${{matrix.targets}}
|
./Tools/ci_build_all_runner.sh ${{matrix.targets}}
|
||||||
for target in ${matrix_targets//,/ }
|
|
||||||
do
|
|
||||||
make $target
|
|
||||||
done
|
|
||||||
|
|
||||||
- name: ccache post-run
|
- name: ccache post-run
|
||||||
run: ccache -s
|
run: ccache -s
|
||||||
|
|||||||
Executable
+9
@@ -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
|
||||||
Reference in New Issue
Block a user