Skip to content

Commit

Permalink
Renamed an environmental variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kitao committed Nov 27, 2023
1 parent e63311e commit c2080e7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,20 @@ jobs:
- name: Install Python packages
run: pip install -r requirements.txt

- name: Build and install OpenSSL
- name: Build OpenSSL
run: |
export OPENSSL_VERSION=3.2.0
curl -sqLO https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz
tar xzf openssl-${OPENSSL_VERSION}.tar.gz
cd openssl-${OPENSSL_VERSION}
./Configure ${OPENSSL_CONFIG_OPTIONS} --prefix=$(pwd)/openssl-build
make -j4
make install
echo "OPENSSL_DIR=$(pwd)/openssl-build" >> $GITHUB_ENV
TARGET_UPPER=$(echo "${{ matrix.target }}" | tr '[:lower:]-' '[:upper:]_')
echo "${TARGET_UPPER}_OPENSSL_DIR=$(pwd)/openssl-build" >> $GITHUB_ENV
env:
OPENSSL_CONFIG_OPTIONS: >-
${{ matrix.target == 'x86_64-unknown-linux-gnu' && 'linux-x86_64' ||
matrix.target == 'i686-unknown-linux-gnu' && 'linux-elf' ||
matrix.target == 'aarch64-unknown-linux-gnu' && 'linux-aarch64' ||
matrix.target == 'armv7-unknown-linux-gnueabihf' && 'linux-armv4' }}
Expand Down

0 comments on commit c2080e7

Please sign in to comment.