From fb0a80369d96975032ff40ecde2b68dbad456ec7 Mon Sep 17 00:00:00 2001 From: ktechmidas Date: Fri, 11 Oct 2024 13:34:34 +0300 Subject: [PATCH] Try compilation... --- .github/workflows/release.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1008bca..e10ec8f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,12 +69,19 @@ jobs: echo "PKG_CONFIG_PATH=/usr/aarch64-linux-gnu/lib/pkgconfig:/usr/lib/aarch64-linux-gnu/pkgconfig" >> $GITHUB_ENV echo "PKG_CONFIG_SYSROOT_DIR=/usr/aarch64-linux-gnu" >> $GITHUB_ENV - - name: Install OpenSSL libraries for ARM64 + - name: Download and compile OpenSSL for ARM64 if: matrix.arch == 'arm64' && matrix.os == 'ubuntu-latest' run: | - sudo dpkg --add-architecture arm64 - sudo apt-get update - sudo apt-get install -y libssl-dev:aarch64 + mkdir -p $HOME/openssl-arm64 + cd $HOME/openssl-arm64 + curl -O https://www.openssl.org/source/openssl-1.1.1v.tar.gz + tar -xzf openssl-1.1.1v.tar.gz + cd openssl-1.1.1v + ./Configure linux-aarch64 --prefix=$HOME/openssl-arm64 --openssldir=$HOME/openssl-arm64 + make + make install + echo "PKG_CONFIG_PATH=$HOME/openssl-arm64/lib/pkgconfig" >> $GITHUB_ENV + echo "LD_LIBRARY_PATH=$HOME/openssl-arm64/lib" >> $GITHUB_ENV - name: Debug environment variables run: |