mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-08 18:32:02 +00:00
fix: Correct apt sources list configuration for ARM64 cross-compilation
Co-authored-by: aider (openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
This commit is contained in:
parent
d74ddf5f82
commit
155db0b163
1 changed files with 14 additions and 16 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
run: |
|
||||
sudo dpkg --add-architecture arm64
|
||||
# Configure sources for ARM64 packages - all ARM64 packages come from ports.ubuntu.com
|
||||
sudo tee /etc/apt/sources.list.d/arm64.list > /dev/null <<EOF
|
||||
sudo tee /etc/apt/sources.list.d/arm64.list > /dev/null <<'EOF'
|
||||
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy main restricted universe multiverse
|
||||
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted universe multiverse
|
||||
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-backports main restricted universe multiverse
|
||||
|
|
@ -46,8 +46,6 @@ jobs:
|
|||
sudo apt-get install -y libpkgconf3:arm64
|
||||
- name: Install Rust dependencies
|
||||
run: cargo fetch --target ${{ env.RUST_TARGET }}
|
||||
- name: Install additional dependencies
|
||||
run: sudo apt-get install -y libudev-dev
|
||||
- name: Build release binary
|
||||
run: cargo build --release --target ${{ env.RUST_TARGET }}
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue