mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-13 06:20:36 +08:00
ci: extact image instead of mounting in CI
avoids security issues in the runner Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
@@ -26,9 +26,6 @@ jobs:
|
||||
- name: Install FUSE support
|
||||
run: sudo apt-get update && sudo apt-get install -y libfuse2 fuse
|
||||
|
||||
- name: run modprobe
|
||||
run: sudo modprobe fuse
|
||||
|
||||
- name: Install appimagetool
|
||||
run: |
|
||||
wget -O appimagetool-x86_64.AppImage \
|
||||
@@ -37,6 +34,9 @@ jobs:
|
||||
sudo mv appimagetool-x86_64.AppImage /usr/local/bin/appimagetool
|
||||
|
||||
- name: Build PX4 SITL and AppImage
|
||||
env:
|
||||
# avoid FUSE by extracting the AppImage in‐place
|
||||
APPIMAGE_EXTRACT_AND_RUN: "1"
|
||||
run: |
|
||||
make appimage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user