Skip to content

Commit

Permalink
configure libssl earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
tangowithfoxtrot authored Nov 20, 2023
1 parent d43a061 commit 8b108dd
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/build-python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,20 @@ jobs:

- os: ubuntu-22.04
target: x86_64-unknown-linux-gnu

build: |
apt-get update
apt-get install libssl-dev -y
export AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR=/usr/lib/aarch64-linux-gnu
export X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
- os: ubuntu-22.04
target: aarch64-unknown-linux-gnu
build: |
apt-get update
apt-get install libssl-dev -y
export AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR=/usr/lib/aarch64-linux-gnu
export X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
steps:
- name: Checkout repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand Down Expand Up @@ -98,11 +109,7 @@ jobs:
sccache: 'true'
manylinux: auto
working-directory: ${{ github.workspace }}/languages/python
before-script-linux: |
apt update
apt install libssl-dev -y
export AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR=/usr/lib/aarch64-linux-gnu
export X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
# before-script-linux: |

- name: Upload artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
Expand Down

0 comments on commit 8b108dd

Please sign in to comment.