Skip to content

Commit 3ee9ec0

Browse files
tridgeclaude
andcommitted
CI: fix debian build test - use pip for pymavlink
python3-pymavlink and python3-pynmea2 are not available as apt packages on Ubuntu, install via pip instead. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 7f66e99 commit 3ee9ec0

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/debian_build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,18 @@ jobs:
4242
4343
- name: Test package installation
4444
run: |
45-
sudo apt-get install -y python3-pymavlink python3-pynmea2
45+
# Install pip dependencies (pymavlink/pynmea2 not available as apt packages)
46+
pip3 install pymavlink pynmeagps
47+
# Install the built package, resolving any apt dependencies
4648
sudo dpkg -i ../python3-mavproxy*.deb || sudo apt-get -f install -y
4749
mavproxy.py --version || echo "Version check completed"
4850
51+
- name: Copy package to workspace
52+
run: cp ../*.deb .
53+
4954
- name: Archive Debian package
5055
uses: actions/upload-artifact@v4
5156
with:
5257
name: debian-package
53-
path: ../*.deb
58+
path: "*.deb"
5459
retention-days: 7

0 commit comments

Comments
 (0)