fix: Install armhf libudev-dev for cross-compilation

Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
This commit is contained in:
Chaos Rogers 2025-07-10 12:51:52 +01:00
parent 475e21dbd3
commit 83fa95aff5

View file

@ -27,8 +27,9 @@ jobs:
- name: Install cross-compilation dependencies - name: Install cross-compilation dependencies
run: | run: |
sudo dpkg --add-architecture armhf
sudo apt-get update -y sudo apt-get update -y
sudo apt-get install -y gcc-arm-linux-gnueabihf libudev-dev sudo apt-get install -y gcc-arm-linux-gnueabihf libudev-dev:armhf
- name: Build release binary - name: Build release binary
run: cargo build --release --target ${{ env.RUST_TARGET }} run: cargo build --release --target ${{ env.RUST_TARGET }}