Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Zhou <[email protected]>
  • Loading branch information
zhouyuan committed Nov 26, 2024
1 parent 70da3b1 commit eb519bd
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/velox_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,25 +281,24 @@ jobs:
docker pull centos:7
docker run -v $GITHUB_WORKSPACE:/work -v /$GITHUB_WORKSPACE/.m2:/root/.m2/ -w /work \
-e matrix.java=${{ matrix.java }} -e matrix.spark=${{ matrix.spark }} \
-e MVN_CMD=$MVN_CMD -e SETUP=$SETUP -e GITHUB_WORKSPACE=/work \
-e GITHUB_WORKSPACE=/work \
centos:7 \
bash -c "
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
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
# Setup java and maven
yum update -y && yum install -y java-1.8.0-openjdk-devel wget
$SETUP install_maven
bash .github/workflows/util/setup_helper.sh install_maven
# Set environment variables
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
# Build gluten-it
echo 'JAVA_HOME: $JAVA_HOME'
$MVN_CMD clean install -P${{ matrix.spark }} -P${{ matrix.java }} -Pbackends-velox -DskipTests
mvn -ntp clean install -P${{ matrix.spark }} -P${{ matrix.java }} -Pbackends-velox -DskipTests
cd $GITHUB_WORKSPACE/tools/gluten-it
$MVN_CMD clean install -P${{ matrix.spark }} -P${{ matrix.java }}
mvn -ntp clean install -P${{ matrix.spark }} -P${{ matrix.java }}
# Run TPC-H / TPC-DS
GLUTEN_IT_JVM_ARGS=-Xmx5G sbin/gluten-it.sh queries-compare \
Expand Down

0 comments on commit eb519bd

Please sign in to comment.