diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f1bdc904207717..43123e73e31497 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 || '' }} @@ -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