zhouyuan commented on code in PR #12321:
URL: https://github.com/apache/gluten/pull/12321#discussion_r3597326435
##########
.github/workflows/velox_weekly.yml:
##########
@@ -35,45 +35,13 @@ concurrency:
cancel-in-progress: true
jobs:
- build-on-centos-7:
- strategy:
- fail-fast: false
- if: ${{ startsWith(github.repository, 'apache/') }}
- runs-on: ubuntu-22.04
- container: centos:7
- steps:
- - name: Build Gluten native libraries and package
- run: |
- sed -i -e 's|mirrorlist=|#mirrorlist=|g' /etc/yum.repos.d/CentOS-*
|| true
- sed -i -e
's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g'
/etc/yum.repos.d/CentOS-* || true
- yum update -y
- yum install -y epel-release sudo dnf
- yum install -y centos-release-scl
- rm /etc/yum.repos.d/CentOS-SCLo-scl.repo -f
- sed -i \
- -e 's/^mirrorlist/#mirrorlist/' \
- -e 's/^#baseurl/baseurl/' \
- -e 's/mirror\.centos\.org/vault.centos.org/' \
- /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo
- yum install -y devtoolset-11
- source /opt/rh/devtoolset-11/enable
- yum install -y java-1.8.0-openjdk-devel patch wget git perl
python3-pip
- export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk && \
- export PATH=$JAVA_HOME/bin:$PATH
-
- # action/checkout does not work centos7 anymore, so we clone the
branch instead.
- git clone -b main --depth=1 https://github.com/apache/gluten.git &&
cd gluten/
- if [ ${{ github.event_name }} = "pull_request" ]; then
- git fetch origin ${{ github.ref }}:pr_branch && git checkout
pr_branch
- fi
- ./dev/package.sh --spark_version=3.5
build-on-centos:
strategy:
fail-fast: false
matrix:
os: [ "centos:8", "quay.io/centos/centos:stream9" ]
- if: ${{ startsWith(github.repository, 'apache/') }}
Review Comment:
should revert this
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]