Skip to content

Commit

Permalink
ci: use pypa/manylinux image instead of vanilla centos (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgiannuzzi authored Jul 2, 2024
1 parent 9bafbd4 commit f1f2eda
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,8 @@ jobs:
- name: Start CentOS container and install toolchain
if: runner.os == 'Linux' && matrix.arch == 'x64'
run: |
docker run -d --name centos --entrypoint tail -v $PWD:$PWD -v $VCPKG_INSTALLATION_ROOT:$VCPKG_INSTALLATION_ROOT centos:7 -f /dev/null
docker exec centos sh -c "yum install -y centos-release-scl epel-release && \
yum install -y devtoolset-7 rh-git227 httpd24-curl flex bison perl-Data-Dumper perl-IPC-Cmd && \
docker run -d --name centos --entrypoint tail -v $PWD:$PWD -v $VCPKG_INSTALLATION_ROOT:$VCPKG_INSTALLATION_ROOT quay.io/pypa/manylinux2014_x86_64 -f /dev/null
docker exec centos sh -c "yum install -y devtoolset-7 rh-git227 httpd24-curl flex bison perl-Data-Dumper perl-IPC-Cmd && \
curl -fsSL -o /tmp/cmake.sh https://github.com/Kitware/CMake/releases/download/v${{ steps.cmake-info.outputs.version }}/cmake-${{ steps.cmake-info.outputs.version }}-linux-x86_64.sh && \
sh /tmp/cmake.sh --skip-license --prefix=/usr/local && \
rm /tmp/cmake.sh"
Expand Down

0 comments on commit f1f2eda

Please sign in to comment.