diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f1bdc904207717..effc4673bbceca 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 || '' }} @@ -67,7 +67,7 @@ jobs: rm -rf /usr/local/share/dotnet - name: Checkout LLVM - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set MSVC as the default compiler on Windows if: matrix.platform.os_type == 'windows' @@ -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 @@ -102,7 +101,7 @@ jobs: fi - name: Setup Ninja - uses: seanmiddleditch/gha-setup-ninja@v4 + uses: seanmiddleditch/gha-setup-ninja@master - name: Install ccache shell: bash @@ -145,7 +144,7 @@ jobs: - name: Cache ccache files on non-Windows if: matrix.platform.os_type != 'windows' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${RUNNER_WORKSPACE}/.ccache key: