diff --git a/.github/workflows/build_python_wheels.yml b/.github/workflows/build_python_wheels.yml index b455c0e43..64f03b7eb 100644 --- a/.github/workflows/build_python_wheels.yml +++ b/.github/workflows/build_python_wheels.yml @@ -29,6 +29,9 @@ jobs: - name: Build wheel shell: bash run: | + export OPENSSL_ROOT_DIR=/usr/local/openssl + export OPENSSL_LIBRARIES=/usr/local/openssl/lib + export OPENSSL_INCLUDE_DIR=/usr/local/openssl/include ${{ matrix.config.base_path }}bin/pip wheel . -w wheel_output/ --verbose auditwheel repair wheel_output/*whl -w audit_output/ - name: Upload built wheel diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e97c0468c..392ec70f4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -27,6 +27,9 @@ jobs: - name: Build wheel shell: bash run: | + export OPENSSL_ROOT_DIR=/usr/local/openssl + export OPENSSL_LIBRARIES=/usr/local/openssl/lib + export OPENSSL_INCLUDE_DIR=/usr/local/openssl/include ${{ matrix.config.base_path }}bin/pip wheel . -w wheel_output/ --verbose auditwheel repair wheel_output/*whl -w audit_output/ - name: Upload built wheel