Skip to content

Commit 735671b

Browse files
committed
no setup-python
1 parent b5f57a0 commit 735671b

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

.github/workflows/build_rocky.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,12 @@ jobs:
1515
- name: Install Dependencies
1616
run: |
1717
yum update -y
18-
yum install -y gcc gcc-c++ git autoconf automake bison make zip cmake \
18+
yum install -y gcc gcc-c++ git autoconf automake bison make zip cmake python3 \
1919
bzip2 patch mesa-libGL-devel libffi-devel fontconfig-devel \
2020
sqlite-devel bzip2-devel zlib-devel openssl-devel xz-devel \
2121
readline-devel ncurses-devel libffi-devel libuuid-devel git-lfs \
2222
findutils swig
2323
24-
- uses: actions/setup-python@v5
25-
with:
26-
python-version: '3.11'
27-
28-
- name: Install Python Dependencies
29-
run: |
30-
python3 -m pip install --upgrade pip setuptools wheel
31-
python3 -m pip install build auditwheel patchelf
32-
patchelf --version
33-
3424
- name: Install aws cli
3525
run: |
3626
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
@@ -108,8 +98,11 @@ jobs:
10898
cp -R $base/python-3.9.11/lib/python3.9/site-packages/voxec .
10999
cp $GITHUB_WORKSPACE/pyproject.toml .
110100
111-
python3 -m build -w
112-
python3 -m auditwheel repair --plat manylinux_2_31_x86_64 dist/*.whl -w audited
101+
PATH=$base/python-3.9.11/bin python3 -m pip install --upgrade pip setuptools wheel
102+
PATH=$base/python-3.9.11/bin python3 -m pip install build auditwheel patchelf
103+
PATH=$base/python-3.9.11/bin patchelf --version
104+
PATH=$base/python-3.9.11/bin python3 -m build -w
105+
PATH=$base/python-3.9.11/bin python3 -m auditwheel repair --plat manylinux_2_31_x86_64 dist/*.whl -w audited
113106
114107
- name: Publish a Python distribution to PyPI
115108
uses: ortega2247/pypi-upload-action@master

0 commit comments

Comments
 (0)