From 751fa837927464bc007f6900157c0d2f81e697f3 Mon Sep 17 00:00:00 2001 From: deepa <8832194+deepashreeraghu@users.noreply.github.com> Date: Thu, 25 Jul 2024 11:16:03 +0530 Subject: [PATCH] [VL] Update to add centos9 for weekly build (#6580) --- .github/workflows/velox_weekly.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/velox_weekly.yml b/.github/workflows/velox_weekly.yml index 513730c84de9..96de3bd570c8 100644 --- a/.github/workflows/velox_weekly.yml +++ b/.github/workflows/velox_weekly.yml @@ -34,7 +34,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ "centos:7", "centos:8" ] + os: [ "centos:7", "centos:8", "quay.io/centos/centos:stream9" ] runs-on: ubuntu-20.04 container: ${{ matrix.os }} steps: @@ -55,11 +55,14 @@ jobs: -e 's/^#baseurl/baseurl/' \ -e 's/mirror\.centos\.org/vault.centos.org/' \ /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo + elif [ "${{ matrix.os }}" = "quay.io/centos/centos:stream9" ]; then + dnf install -y --setopt=install_weak_deps=False gcc-toolset-12 + source /opt/rh/gcc-toolset-12/enable || exit 1 else dnf install -y --setopt=install_weak_deps=False gcc-toolset-9 source /opt/rh/gcc-toolset-9/enable || exit 1 fi - yum install -y java-1.8.0-openjdk-devel patch wget git + yum install -y java-1.8.0-openjdk-devel patch wget git perl export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk && \ export PATH=$JAVA_HOME/bin:$PATH wget --no-check-certificate https://downloads.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz && \