Skip to content

Commit

Permalink
Merge pull request #10 from sys-bio/replace-manylinux2014-with-manyli…
Browse files Browse the repository at this point in the history
…nux_2_28-runner

Manylinux2014 is replaced with Manylinux_2_28 in C/CD workflow
  • Loading branch information
adelhpour authored Jul 5, 2024
2 parents 150ab2b + dd006c2 commit fed291b
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 @@ -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 All @@ -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'
Expand All @@ -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 All @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit fed291b

Please sign in to comment.