mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 21:30:35 +08:00
feat(packaging): add voxl2 Debian package build
Add make_package.sh and supporting files to build a .deb package for the voxl2 target, bundling both the ARM64 apps processor binary and Hexagon SLPI DSP library. The package version is derived from the git tag and short commit hash. CI is updated to build and upload the .deb alongside existing .px4 artifacts.
This commit is contained in:
@@ -181,6 +181,17 @@ jobs:
|
||||
name: px4_${{matrix.group}}_build_artifacts
|
||||
path: artifacts/
|
||||
|
||||
- name: Build voxl2 Debian Package
|
||||
if: contains(matrix.targets, 'modalai_voxl2')
|
||||
run: ./Tools/packaging/voxl2/make_package.sh
|
||||
|
||||
- name: Upload voxl2 Debian Package
|
||||
if: contains(matrix.targets, 'modalai_voxl2')
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: voxl-px4-deb
|
||||
path: Tools/packaging/voxl2/*.deb
|
||||
|
||||
- name: Cache Post Build Stats
|
||||
if: always()
|
||||
run: |
|
||||
@@ -265,5 +276,7 @@ jobs:
|
||||
with:
|
||||
draft: true
|
||||
prerelease: ${{ steps.upload-location.outputs.is_prerelease == 'true' }}
|
||||
files: artifacts/*.px4
|
||||
files: |
|
||||
artifacts/*.px4
|
||||
artifacts/*.deb
|
||||
name: ${{ steps.upload-location.outputs.uploadlocation }}
|
||||
|
||||
Reference in New Issue
Block a user