Skip to content

Commit

Permalink
[VL] Update to add centos9 for weekly build (#6580)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepashreeraghu authored Jul 25, 2024
1 parent 865890f commit 751fa83
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/velox_weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 && \
Expand Down

0 comments on commit 751fa83

Please sign in to comment.