mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-19 05:00:35 +08:00
5db88fb2bc
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
name: Build PX4 SITL AppImage
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: read
|
|
actions: write
|
|
|
|
jobs:
|
|
build-appimage:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: px4io/px4-dev:v1.16.0-rc1-258-g0369abd556
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
submodules: recursive
|
|
|
|
- name: Git ownership workaround
|
|
run: git config --system --add safe.directory '*'
|
|
|
|
- name: Install appimagetool
|
|
run: |
|
|
wget -O appimagetool-x86_64.AppImage \
|
|
https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
|
|
chmod +x appimagetool-x86_64.AppImage
|
|
sudo mv appimagetool-x86_64.AppImage /usr/local/bin/appimagetool
|
|
|
|
- name: Build PX4 SITL and AppImage
|
|
run: |
|
|
make appimage
|
|
|
|
- name: Upload AppImage artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: px4-sitl-appimage
|
|
path: build/*.AppImage
|