Skip to content

Commit

Permalink
Merge pull request #101 from sys-bio/replacing-manylinux2014-with-man…
Browse files Browse the repository at this point in the history
…ylinux_2_28

 Manylinux2014 is replaced with Manylinux_2_28 in C/CD workflow
  • Loading branch information
adelhpour authored Jul 5, 2024
2 parents 2c6f7c3 + 24c3dd6 commit 6d982b6
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6d982b6

Please sign in to comment.