Skip to content

Commit

Permalink
Manylinux2014 is replaced with Manylinux_2_28 in C/CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
adelhpour committed Jul 4, 2024
1 parent 150ab2b commit 6f376fa
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ jobs:
os_type: windows
os_name: windows-latest
build_type: Debug
- name: manylinux2014-release
- name: manylinux_2_28-release
os_type: manylinux
os_name: ubuntu-latest
container_image: quay.io/pypa/manylinux2014_x86_64
container_image: quay.io/pypa/manylinux_2_28_x86_64
build_type: Release
# We don't build on manylinux2014-debug platform because the machine runs out of space while building it
# We don't build on manylinux_2_28-debug platform because the machine runs out of space while building it
runs-on: ${{ matrix.platform.os_name }}
container:
image: ${{ matrix.platform.container_image || '' }}
Expand Down Expand Up @@ -86,10 +86,9 @@ jobs:
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 90
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 90
elif [ "${{ matrix.platform.os_type }}" == 'manylinux' ]; then
yum install -y centos-release-scl
yum install -y devtoolset-11
scl enable devtoolset-11 bash
echo "/opt/rh/devtoolset-11/root/usr/bin" >> "${GITHUB_PATH}"
dnf install -y gcc-toolset-11
scl enable gcc-toolset-11 bash
echo "/opt/rh/gcc-toolset-11/root/usr/bin" >> "${GITHUB_PATH}"
fi
- name: Get Host Architecture
Expand Down

0 comments on commit 6f376fa

Please sign in to comment.