ci: run make on external script

This commit is contained in:
Ramon Roche 2024-08-09 08:26:53 -07:00
parent 166bf22cb7
commit fa8c4ff7c9
No known key found for this signature in database
GPG Key ID: 275988FAE5821713
2 changed files with 10 additions and 5 deletions

View File

@ -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
View 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