Files
PX4-Autopilot/.github/workflows/appimage.yml
T
Ramon Roche 5b209cf5f4 ci: build on oldest supported architecture
This makes it so its usable in ubuntu 22.04 & 24.04, otherwise we start
running into dependency issues in the system for example:

```
/tmp/.mount_PX4_AuYR3Xk1/usr/bin/px4: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by /tmp/.mount_PX4_AuYR3Xk1/usr/bin/px4)
/tmp/.mount_PX4_AuYR3Xk1/usr/bin/px4: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /tmp/.mount_PX4_AuYR3Xk1/usr/bin/px4)
```

Signed-off-by: Ramon Roche <mrpollo@gmail.com>
2025-07-03 18:59:01 +00:00

40 lines
852 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: Build PX4 SITL AppImage
on:
pull_request:
branches:
- main
permissions:
contents: read
actions: write
jobs:
build-appimage:
name: "Create px4_sitl AppImage"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Git ownership workaround
run: git config --system --add safe.directory '*'
- name: Install Dependencies
run: ./Tools/setup.sh
- name: Build PX4 SITL and AppImage
env:
# avoid FUSE by extracting the AppImage inplace
APPIMAGE_EXTRACT_AND_RUN: "1"
run: |
make appimage
- name: Upload AppImage artifact
uses: actions/upload-artifact@v4
with:
name: px4-sitl-appimage
path: build/*.AppImage