File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,19 @@ jobs:
3232 args : --release --out dist --find-interpreter
3333 manylinux : 2_28
3434 before-script-linux : |
35- set -ex
36- dnf install -y epel-release && dnf update -y
37- dnf install -y gcc gcc-c++ make perl curl openssl-devel pkgconfig clang xz-devel
38- export OPENSSL_LIB_DIR=$(pkg-config --variable=libdir openssl)
39- export OPENSSL_INCLUDE_DIR=$(pkg-config --variable=includedir openssl)
40- if [ -z "$OPENSSL_LIB_DIR" ] || [ -z "$OPENSSL_INCLUDE_DIR" ]; then
41- echo "OpenSSL development files are not installed or pkg-config is not configured correctly."
42- exit 1
35+ if [ "${{ matrix.platform.target }}" = "x86_64" ]; then
36+ set -ex
37+ dnf install -y epel-release && dnf update -y
38+ dnf install -y gcc gcc-c++ make perl curl openssl-devel pkgconfig clang xz-devel
39+ export OPENSSL_LIB_DIR=$(pkg-config --variable=libdir openssl)
40+ export OPENSSL_INCLUDE_DIR=$(pkg-config --variable=includedir openssl)
41+ if [ -z "$OPENSSL_LIB_DIR" ] || [ -z "$OPENSSL_INCLUDE_DIR" ]; then
42+ echo "OpenSSL development files are not installed or pkg-config is not configured correctly."
43+ exit 1
44+ fi
45+ export OPENSSL_DIR="$OPENSSL_LIB_DIR/ssl"
46+ export OPENSSL_NO_VENDOR=1
4347 fi
44- export OPENSSL_DIR="$OPENSSL_LIB_DIR/ssl"
45- export OPENSSL_NO_VENDOR=1
4648 - name : Upload wheels
4749 uses : actions/upload-artifact@v4
4850 with :
You can’t perform that action at this time.
0 commit comments