Skip to content

Commit 6053847

Browse files
committed
fix workflow for ARM
1 parent 78e831f commit 6053847

File tree

2 files changed

+30
-20
lines changed

2 files changed

+30
-20
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,16 @@ jobs:
7373
- name: Install Dependencies (Linux)
7474
if: runner.os == 'Linux'
7575
run: |
76+
sudo dpkg --add-architecture arm64
7677
sudo apt-get update
7778
sudo apt-get install -y software-properties-common
7879
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
7980
sudo apt-get update
80-
sudo apt-get install -y gcc gcc-aarch64-linux-gnu cmake libssl-dev pkg-config
81+
if [ "${{ matrix.rust-target }}" = "aarch64-unknown-linux-gnu" ]; then
82+
sudo apt-get install -y gcc-aarch64-linux-gnu cmake libssl-dev:arm64 pkg-config
83+
else
84+
sudo apt-get install -y gcc cmake libssl-dev pkg-config
85+
fi
8186
8287
- name: Install Dependencies (macOS)
8388
if: runner.os == 'macOS'

.idea/workspace.xml

Lines changed: 24 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)