Skip to content

Commit

Permalink
Fixed Python Build Errors (#1432)
Browse files Browse the repository at this point in the history
* add musl to linux install

* github workflows

* added rustls

* add musl to linux install

* add musl to linux install

* update manylinux version

* update manylinux version
  • Loading branch information
Haaroon authored Jan 2, 2024
1 parent 054c5f5 commit 1d53f4e
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/_release_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
matrix:
target: [x86_64, aarch64]
steps:
# - name: "Check if user has write access"
# uses: "lannonbr/[email protected]"
# with:
# permission: "write"
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Check if user has write access"
uses: "lannonbr/[email protected]"
with:
permission: "write"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
command: build
target: ${{ matrix.target }}
args: --release --out dist -i python3.7 -i python3.8 -i python3.9 -i python3.10 -i python3.11
manylinux: auto
manylinux: 2_28
before-script-linux: |
if [[ -f /etc/os-release ]]; then
. /etc/os-release
Expand Down Expand Up @@ -83,6 +83,12 @@ jobs:
yum update -y
yum install -y pkgconfig openssl-devel
;;
almalinux)
echo "Installing openssl-dev on almalinux..."
dnf update -y
dnf group install -y 'Development Tools'
dnf install -y pkg-config openssl-devel
;;
*)
echo "Unsupported distribution: $ID"
exit 1
Expand Down

0 comments on commit 1d53f4e

Please sign in to comment.