mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-08 18:32:02 +00:00
fix: Update build workflow for ARM64 cross-compilation - install libudev-dev
This commit is contained in:
parent
22aa16bfbf
commit
f3a5cc109a
1 changed files with 3 additions and 0 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
|
@ -25,6 +25,8 @@ jobs:
|
|||
with:
|
||||
targets: ${{ env.RUST_TARGET }}
|
||||
|
||||
|
||||
|
||||
- name: Install cross-compilation dependencies
|
||||
run: |
|
||||
sudo dpkg --add-architecture arm64
|
||||
|
|
@ -42,6 +44,7 @@ jobs:
|
|||
sudo apt-get install -y gcc-aarch64-linux-gnu libudev-dev:arm64 pkg-config cmake
|
||||
# Ensure pkg-config can find ARM64 libraries
|
||||
sudo apt-get install -y libpkgconf3:arm64
|
||||
sudo apt install libudev-dev
|
||||
|
||||
- name: Build release binary
|
||||
run: cargo build --release --target ${{ env.RUST_TARGET }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue