Skip to content

Commit 2796831

Browse files
committed
adds cross additional build platform target to ci gh actions file and adds deps to the workfow aswell.
1 parent a25dab5 commit 2796831

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/ci.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ on:
66

77
env:
88
CARGO_TERM_COLOR: always
9-
OPENSSL_LIB_DIR: /usr/lib/aarch64-linux-gnu
10-
OPENSSL_INCLUDE_DIR: /usr/include/aarch64-linux-gnu
119
PKG_CONFIG_ALLOW_CROSS: 1
1210

1311
jobs:
@@ -22,10 +20,17 @@ jobs:
2220
- name: Install Rust toolchain
2321
uses: dtolnay/rust-toolchain@stable
2422
with:
25-
targets: x86_64-unknown-linux-gnu
23+
targets: x86_64-unknown-linux-gnu,aarch64-unknown-linux-gnu
2624

2725
- name: Install dependencies
28-
run: sudo apt-get install -y pkg-config libssl-dev
26+
run: |
27+
sudo apt-get update && \
28+
sudo apt-get install -y --no-install-recommends \
29+
gcc-aarch64-linux-gnu \
30+
libssl-dev \
31+
libssl-dev:arm64 \
32+
pkg-config \
33+
&& sudo ldconfig
2934
3035
- name: Use cached dependencies
3136
uses: Swatinem/rust-cache@v2

0 commit comments

Comments
 (0)