Skip to content

Commit 19fe489

Browse files
committed
set OPENSSL_DIR for Linux builds
1 parent 3982afc commit 19fe489

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/build-github-actions.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ jobs:
9191
submodules: 'true'
9292
- name: Install OpenSSL
9393
run: sudo apt-get update && sudo apt-get install -y libssl-dev
94+
- name: Set OPENSSL_DIR
95+
run: echo "OPENSSL_DIR=/usr" >> $GITHUB_ENV
9496
- name: Build x86_64 wheels
9597
uses: PyO3/maturin-action@v1
9698
if: ${{ matrix.target == 'x86_64' }}

.github/workflows/manual-build-github-actions.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ jobs:
8080
# submodules: 'true'
8181
# - name: Install OpenSSL
8282
# run: sudo apt-get update && sudo apt-get install -y libssl-dev
83+
# - name: Set OPENSSL_DIR
84+
# run: echo "OPENSSL_DIR=/usr" >> $GITHUB_ENV
8385
# - name: Build wheels
8486
# uses: PyO3/maturin-action@v1
8587
# with:

0 commit comments

Comments
 (0)