Skip to content

Commit

Permalink
fix manylinux ci
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-xu committed Feb 29, 2024
1 parent 6661ef9 commit 28ba98f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/do-build-manylinux2014.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ ARCH=$5
HNSWLIB_CI_PRECOMPILE=$6

OTP_MAJOR_VERSION=$(cut -d "." -f 1 <<< "$OTP_VERSION")
OPENSSL_VERSION=${OPENSSL_VERSION:-3.1.1}
OPENSSL_VERSION=${OPENSSL_VERSION:-3.2.1}
PERFIX_DIR="/openssl-${ARCH}"
OPENSSL_ARCHIVE="openssl-${ARCH}.tar.gz"
OTP_ARCHIVE="otp-${ARCH}.tar.gz"
OPENSSL_ARCHIVE="openssl-${ARCH}-linux-gnu.tar.gz"
OTP_ARCHIVE="otp-${ARCH}-linux-gnu.tar.gz"

yum install -y openssl-devel ncurses-devel && \
cd / && \
curl -fSL "https://github.com/cocoa-xu/elixir_make-manylinux-openssl-precompiled/releases/download/v${OPENSSL_VERSION}/${OPENSSL_ARCHIVE}" -o "${OPENSSL_ARCHIVE}" && \
curl -fSL "https://github.com/cocoa-xu/openssl-build/releases/download/v${OPENSSL_VERSION}/${OPENSSL_ARCHIVE}" -o "${OPENSSL_ARCHIVE}" && \
tar -xf "${OPENSSL_ARCHIVE}" && \
curl -fSL "https://github.com/cocoa-xu/elixir_make-manylinux-otp-precompiled/releases/download/v${OTP_VERSION}/${OTP_ARCHIVE}" -o "${OTP_ARCHIVE}" && \
curl -fSL "https://github.com/cocoa-xu/otp-build/releases/download/v${OTP_VERSION}/${OTP_ARCHIVE}" -o "${OTP_ARCHIVE}" && \
tar -xf "${OTP_ARCHIVE}" && \
export PATH="/${OTP_VERSION}/bin:${PATH}" && \
mkdir -p "elixir-${ELIXIR_VERSION}" && \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/precompile-manylinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
HNSWLIB_CI_PRECOMPILE: "manylinux2014"
strategy:
matrix:
otp_version: ["25.3.2.6", "26.0.2"]
otp_version: ["25.3.2.9", "26.2.2"]
arch: [x86_64, i686, s390x]

name: ${{ matrix.arch }}-linux-gnu - OTP ${{ matrix.otp_version }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Pull docker image
run: |
Expand Down

0 comments on commit 28ba98f

Please sign in to comment.