Skip to content

Commit

Permalink
cross may not work on macos for native deps. Install m1 toolchain ins…
Browse files Browse the repository at this point in the history
…tead
  • Loading branch information
shantanugoel committed Jun 15, 2021
1 parent 8172439 commit db9e78d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/cdtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
target: aarch64-apple-darwin
architecture: aarch64
binary-postfix: ""
use-cross: true
use-cross: false
- os: ubuntu-latest
os-name: linux
target: x86_64-unknown-linux-gnu
Expand Down Expand Up @@ -62,6 +62,9 @@ jobs:
- name: Install dependencies
shell: bash
run: |
if [[ ${{ matrix.job.target }} == aarch64-apple-darwin ]]; then
rustup target add aarch64-apple-darwin
fi
if [[ ${{ matrix.job.os }} == ubuntu-latest ]]; then
sudo apt update
sudo apt-get install -y libdbus-1-dev
Expand Down

0 comments on commit db9e78d

Please sign in to comment.