From 24c3dd6bc43e8f2d0853928e7692f82f7d0797d6 Mon Sep 17 00:00:00 2001 From: adelhpour Date: Fri, 5 Jul 2024 09:32:26 -0700 Subject: [PATCH] Manylinux2014 is replaced with Manylinux_2_28 in C/CD workflow --- .github/workflows/main.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e73b71e3..25c2f712 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -65,24 +65,24 @@ jobs: build_type: Debug build_python: OFF build_qt_antimony: ON - - 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 build_python: ON build_qt_antimony: OFF - - name: manylinux2014-debug + - name: manylinux_2_28-debug 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: Debug build_python: ON build_qt_antimony: OFF libroadrunner_deps_owner: [ "sys-bio" ] libroadrunner_deps_repo: [ "libroadrunner-deps" ] libroadrunner_deps_name: [ "libroadrunner-deps" ] - libroadrunner_deps_release_version: [ "v2.1.1" ] + libroadrunner_deps_release_version: [ "v2.1.2" ] python_version: [ "3.12" ] runs-on: ${{ matrix.platform.os_name }} @@ -110,10 +110,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: Setup Ninja @@ -189,7 +188,7 @@ jobs: if: matrix.platform.build_python == 'ON' && matrix.platform.os_type == 'manylinux' shell: bash run: | - yum install -y wget + dnf install -y wget wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh bash Miniconda3-latest-Linux-x86_64.sh -b -p /Miniconda3