Skip to content

Commit

Permalink
attempt 5
Browse files Browse the repository at this point in the history
  • Loading branch information
ktechmidas committed Oct 11, 2024
1 parent fb0a803 commit 3184f77
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,17 @@ 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: Download and compile OpenSSL for ARM64
- name: OpenSSL for ARM64
if: matrix.arch == 'arm64' && matrix.os == 'ubuntu-latest'
run: |
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
sudo dpkg --add-architecture arm64
# Modify sources.list to restrict ARM64 to main and universe
sudo sed -i '/^deb .*multiverse/ s/$/ [arch=amd64]/' /etc/apt/sources.list
sudo sed -i '/^deb .*restricted/ s/$/ [arch=amd64]/' /etc/apt/sources.list
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu libssl-dev:arm64
sudo dpkg --remove-architecture arm64
sudo apt-get update
- name: Debug environment variables
run: |
Expand Down

0 comments on commit 3184f77

Please sign in to comment.