From 61908351d9f5810c6f680a3928cfe48922364fc1 Mon Sep 17 00:00:00 2001 From: "Christopher L. Crutchfield" Date: Sat, 16 Nov 2024 19:07:03 -0800 Subject: [PATCH] fix: install libdbus for aarch64 --- .github/workflows/rust.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2011c67..23e0052 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -19,12 +19,10 @@ jobs: - name: Install Dependencies run: | sudo apt-get update - sudo apt-get install -y libdbus-1-dev \ + sudo apt-get install -y gcc-aarch64-linux-gnu \ + libdbus-1-dev \ + libdbus-1-dev:arm64 \ pkg-config - - name: Install Cross - run: | - cargo install cross --git https://github.com/cross-rs/cross - sudo systemctl start docker - name: Setup Cargo Config run: | mkdir -p .cargo @@ -37,7 +35,7 @@ jobs: - name: Build run: | cargo build --verbose --release --target=x86_64-unknown-linux-gnu - cross build --verbose --release --target=aarch64-unknown-linux-gnu + cargo build --verbose --release --target=aarch64-unknown-linux-gnu - name: Archive Linux x86_64 Results uses: actions/upload-artifact@v4 with: