Skip to content

Commit

Permalink
aarch64 builds finally work
Browse files Browse the repository at this point in the history
  • Loading branch information
shantanugoel committed Jun 15, 2021
1 parent 5468bea commit f9ddcae
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
architecture: x86_64
binary-postfix: ".exe"
use-cross: false
- os: ubuntu-latest
os-name: linux
target: aarch64-unknown-linux-gnu
architecture: arm64
binary-postfix: ""
use-cross: true
# Disabling below cross builds for now as they aren't compiling
# - os: ubuntu-latest
# os-name: linux
# target: aarch64-unknown-linux-gnu
# architecture: arm64
# binary-postfix: ""
# use-cross: true
# - os: ubuntu-latest
# os-name: linux
# target: i686-unknown-linux-gnu
# architecture: i686
# binary-postfix: ""
Expand All @@ -62,9 +62,8 @@ jobs:
sudo apt-get install -y libdbus-1-dev
fi
if [[ ${{ matrix.job.target }} == aarch64-unknown-linux-gnu ]]; then
sudo dpkg --add-architecture arm64
sudo apt update
sudo apt-get install -y binutils-aarch64-linux-gnu libdbus-1-dev:arm64
sudo apt-get install -y binutils-aarch64-linux-gnu
fi
- name: Cargo build
uses: actions-rs/cargo@v1
Expand Down

0 comments on commit f9ddcae

Please sign in to comment.