File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,16 +34,25 @@ jobs:
3434
3535 - name : Install cross-compilation tools
3636 run : |
37+ if [ "${{ matrix.arch }}" = "aarch64" ]; then
38+ sudo dpkg --add-architecture arm64
39+ fi
3740 sudo apt-get update
3841 sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
3942
4043 - name : Install build dependencies
4144 run : |
42- sudo apt-get install -y debhelper zip imagemagick libdbus-1-dev libusb-1.0-0-dev pkg-config
45+ sudo apt-get install -y debhelper zip imagemagick
4346 if [ "${{ matrix.arch }}" = "x86_64" ]; then
4447 sudo apt-get install -y rpm
4548 fi
4649
50+ if [ "${{ matrix.arch }}" = "aarch64" ]; then
51+ sudo apt-get install -y libdbus-1-dev:arm64 libusb-1.0-0-dev:arm64
52+ else
53+ sudo apt-get install -y libdbus-1-dev libusb-1.0-0-dev
54+ fi
55+
4756 - name : Build
4857 run : |
4958 cargo build --release --target ${{ matrix.arch }}-unknown-linux-gnu --features trezor
You can’t perform that action at this time.
0 commit comments