From ba026e686f9bc5ada89aef6bfd5fb416fa0c5101 Mon Sep 17 00:00:00 2001 From: Vitor Bandeira Date: Tue, 28 Jul 2026 13:16:00 -0300 Subject: [PATCH] ci: drop centos7 from workflow Signed-off-by: Vitor Bandeira --- .github/workflows/ci.yml | 30 ----------- Dockerfile.centos7 | 111 --------------------------------------- 2 files changed, 141 deletions(-) delete mode 100644 Dockerfile.centos7 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e3d1df9..a1673fd5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,36 +65,6 @@ jobs: path: | test/results/* - # CentOS 7 Docker: old platform still common in EDA environments. - linux-centos: - if: github.repository_owner != 'The-OpenROAD-Project-private' - runs-on: ubuntu-latest - timeout-minutes: 30 - steps: - - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - with: - submodules: true - - - name: Build image - run: docker build -f Dockerfile.centos7 --tag sta-centos7 . - - - name: Test in container - run: | - mkdir -p test/results - docker run --rm \ - -v "$PWD/test/results:/OpenSTA/test/results" \ - --entrypoint /bin/bash sta-centos7 \ - -c "cd /OpenSTA/test && ./regression || (cat results/diffs && exit 1)" - - - name: Upload Test Result - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 - if: ${{ !cancelled() }} - with: - name: result-centos7 - path: | - test/results/* - # Native macOS coverage via Brewfile. macos: if: github.repository_owner != 'The-OpenROAD-Project-private' diff --git a/Dockerfile.centos7 b/Dockerfile.centos7 deleted file mode 100644 index 809fbb7b..00000000 --- a/Dockerfile.centos7 +++ /dev/null @@ -1,111 +0,0 @@ -FROM centos:centos7 AS base-dependencies -LABEL author="James Cherry" -LABEL maintainer="James Cherry " - -# Install dev and runtime dependencies (use vault repos since mirror repos are discontinued) -RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo \ - && sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo \ - && sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo \ - && yum update -y \ - && yum install -y centos-release-scl epel-release -RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo \ - && sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo \ - && sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo \ - && yum install -y devtoolset-11 git wget cmake3 make eigen3-devel tcl swig3 flex zlib-devel valgrind \ - && yum clean -y all - -RUN ln -sf /usr/bin/cmake3 /usr/bin/cmake && \ - ln -sf /usr/bin/ctest3 /usr/bin/ctest - -# Download Bison -RUN wget https://mirrors.kernel.org/gnu/bison/bison-3.8.2.tar.gz && \ - tar -xvf bison-3.8.2.tar.gz && \ - rm bison-3.8.2.tar.gz - -# Build Bison -RUN source /opt/rh/devtoolset-11/enable && \ - cd bison-3.8.2 && \ - ./configure && \ - make -j`nproc` && \ - make install - -# Download CUDD -RUN wget https://raw.githubusercontent.com/davidkebo/cudd/main/cudd_versions/cudd-3.0.0.tar.gz && \ - tar -xvf cudd-3.0.0.tar.gz && \ - rm cudd-3.0.0.tar.gz - -# Build CUDD -RUN source /opt/rh/devtoolset-11/enable && \ - cd cudd-3.0.0 && \ - mkdir ../cudd && \ - ./configure && \ - make -j`nproc` && \ - make install - -# Download TCL -RUN wget https://github.com/tcltk/tcl/archive/refs/tags/core-8-6-16.tar.gz -O tcl8.6.16-src.tar.gz && \ - mkdir -p tcl8.6.16 && \ - tar -xvf tcl8.6.16-src.tar.gz -C tcl8.6.16 --strip-components=1 && \ - rm tcl8.6.16-src.tar.gz - -# Build TCL -RUN source /opt/rh/devtoolset-11/enable && \ - cd tcl8.6.16 && \ - ./unix/configure && \ - make -j`nproc` && \ - make install - -# Download and build GTest -RUN <