Compare commits

...

6 Commits

Author SHA1 Message Date
Ramon Roche 7353e7c789 ci: go back to full matrix 2024-08-26 11:03:13 -07:00
Ramon Roche 2ab6d6c78b ci: try the matrix again 2024-08-26 10:59:26 -07:00
Ramon Roche f9f5f7c0f8 ci: debug paths from env 2024-08-26 10:50:44 -07:00
Ramon Roche f555dbd551 ci: add fromJson parsing to paths array 2024-08-26 10:41:27 -07:00
Ramon Roche 0539b553f6 Tools: fix path to targets 2024-08-26 10:35:34 -07:00
Ramon Roche c0a17c58da ci: test independent blog upload 2024-08-26 10:25:50 -07:00
2 changed files with 22 additions and 3 deletions
+3 -3
View File
@@ -45,6 +45,7 @@ jobs:
needs: group_targets
strategy:
matrix: ${{ fromJson(needs.group_targets.outputs.matrix) }}
container:
image: ${{ matrix.container }}
steps:
@@ -76,14 +77,13 @@ jobs:
- name: build target group
run: |
./Tools/ci_build_all_runner.sh ${{matrix.targets}}
./Tools/ci_build_all_metadata.sh ${{matrix.targets}} >> $GITHUB_ENV
- name: Upload px4 package
uses: actions/upload-artifact@v4
with:
name: px4_${{matrix.group}}_build_artifacts
path: |
build/**/*.px4
build/**/*.bin
path: ${{ fromJson(env.PATH_TO_TARGETS) }}
compression-level: 0
- name: ccache post-run
+19
View File
@@ -0,0 +1,19 @@
#!/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
set -e
targets=$1
json_output="{["
for target in ${targets//,/ }
do
json_output="${json_output}'build/${target}/*.bin',"
json_output="${json_output}'build/${target}/*.px4',"
done
json_output="PATH_TO_TARGETS=${json_output}'']}"
# echo "${json_output}" >> $GITHUB_ENV
echo $json_output
# build/**/*.bin
# build/**/*.px4
# build/**/*.json
# build/**/events/*.xz