Skip to content

Commit e600cf2

Browse files
committed
adds openssl and pkg config env vars to ci gh actions workflow
1 parent b96710a commit e600cf2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ 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
11+
PKG_CONFIG_ALLOW_CROSS: 1
912

1013
jobs:
1114
build_test_run:
@@ -20,6 +23,9 @@ jobs:
2023
uses: dtolnay/rust-toolchain@stable
2124
with:
2225
targets: x86_64-unknown-linux-gnu
26+
27+
- name: Install dependencies
28+
run: sudo apt-get install -y pkg-config libssl-dev
2329

2430
- name: Use cached dependencies
2531
uses: Swatinem/rust-cache@v2

0 commit comments

Comments
 (0)