Skip to content

Commit

Permalink
Fix release linux ci
Browse files Browse the repository at this point in the history
  • Loading branch information
taoboyang committed Jul 26, 2024
1 parent 187970d commit 1483b4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jobs:
CIBW_MANYLINUX_PPC64LE_IMAGE: smartbrave/manylinux2014_ppc64le_shared_python:latest
CIBW_MANYLINUX_S390X_IMAGE: smartbrave/manylinux2014_s390x_shared_python:latest
CIBW_BEFORE_ALL_LINUX: >
(curl -fsSL -O https://raw.githubusercontent.com/cloudspinx/centos7-vault-repositories/main/generate_base_repos.sh && curl -fsSL -O https://raw.githubusercontent.com/cloudspinx/centos7-vault-repositories/main/enable_repos.sh && bash generate_base_repos.sh && yes | bash enable_repos.sh && mkdir ~/repos_backup && mv /etc/yum.repos.d/* ~/repos_backup && cp -r centos7_repos/* /etc/yum.repos.d/ && yum clean all && yum makecache fast) &&
(./scripts/build_ffmpeg.sh --device=${{ matrix.device }})
CIBW_REPAIR_WHEEL_COMMAND_LINUX:
tmp_dir=$(mktemp -d) &&
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ jobs:
run: |
tmp_file=$(mktemp -p .)
echo "FROM smartbrave/manylinux2014_${{ matrix.arch }}_shared_python" >>${tmp_file}
echo "RUN (curl -fsSL -O https://raw.githubusercontent.com/cloudspinx/centos7-vault-repositories/main/generate_base_repos.sh && curl -fsSL -O https://raw.githubusercontent.com/cloudspinx/centos7-vault-repositories/main/enable_repos.sh && bash generate_base_repos.sh && yes | bash enable_repos.sh && mkdir ~/repos_backup && mv /etc/yum.repos.d/* ~/repos_backup && cp -r centos7_repos/* /etc/yum.repos.d/ && yum clean all && yum makecache fast)" >>${tmp_file}
echo "RUN yum -y install binutils-devel openssl-devel" >>${tmp_file}
echo "WORKDIR /root" >>${tmp_file}
echo "ENV PATH=\${PATH}:/opt/python/cp39-cp39/bin" >>${tmp_file}
Expand Down

0 comments on commit 1483b4e

Please sign in to comment.