Skip to content

Commit 344351c

Browse files
Fix CI yaml build
1 parent e7667ce commit 344351c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,17 @@ jobs:
4747
sudo apt-get update
4848
sudo apt-get install -y gcc-arm-linux-gnueabihf
4949
50-
# Force openssl-sys to build vendored OpenSSL
51-
echo "OPENSSL_NO_VENDOR=0" >> $GITHUB_ENV
52-
echo "OPENSSL_STATIC=1" >> $GITHUB_ENV
53-
5450
# Use the cross-compiler as CC and tell Cargo to use it
5551
echo "CC=arm-linux-gnueabihf-gcc" >> $GITHUB_ENV
5652
echo "CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc" >> $GITHUB_ENV
5753
5854
- name: Install perl dependencies for OpenSSL
5955
run: |
56+
57+
# Force openssl-sys to build vendored OpenSSL
58+
echo "OPENSSL_NO_VENDOR=0" >> $GITHUB_ENV
59+
echo "OPENSSL_STATIC=1" >> $GITHUB_ENV
60+
6061
sudo apt-get update
6162
sudo apt-get install -y \
6263
perl make cpanminus libssl-dev pkg-config zlib1g-dev

0 commit comments

Comments
 (0)