Skip to content

Commit

Permalink
Initial
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Aug 16, 2024
1 parent 39480ad commit 2a45832
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
41 changes: 23 additions & 18 deletions .github/workflows/velox_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,22 +63,31 @@ jobs:
with:
path: |
./cpp/build/releases/
./cpp/build/velox/udf/examples/
./cpp/build/velox/benchmarks/
key: cache-velox-build-centos-7-${{ hashFiles('./cache-key') }}
- name: Build Gluten native libraries
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
run: |
df -a
cd $GITHUB_WORKSPACE/
bash dev/ci-velox-buildstatic-centos-7.sh
- name: Upload Artifact Native
uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v2
with:
path: ./cpp/build/releases/
name: velox-native-lib-centos-7-${{github.sha}}
- name: Upload Artifact Arrow Jar
uses: actions/upload-artifact@v2
path: ./cpp/build/releases/
- uses: actions/upload-artifact@v2
with:
name: udf-example-lib-centos-7-${{github.sha}}
path: ./cpp/build/velox/udf/examples/
- uses: actions/upload-artifact@v2
with:
name: benchmark-centos-7-${{github.sha}}
path: ./cpp/build/velox/benchmarks/
- uses: actions/upload-artifact@v2
with:
path: /root/.m2/repository/org/apache/arrow/
name: velox-arrow-jar-centos-7-${{github.sha}}
path: /root/.m2/repository/org/apache/arrow/

run-tpc-test-ubuntu:
needs: build-native-lib-centos-7
Expand Down Expand Up @@ -631,25 +640,21 @@ jobs:
CCACHE_DIR: "${{ github.workspace }}/.ccache"
steps:
- uses: actions/checkout@v2
- name: Download All Artifacts
uses: actions/download-artifact@v2
- uses: actions/download-artifact@v2
with:
name: velox-native-lib-centos-8-${{github.sha}}
name: velox-native-lib-centos-7-${{github.sha}}
path: ./cpp/build/releases
- name: Download UDF Example Lib
uses: actions/download-artifact@v2
- uses: actions/download-artifact@v2
with:
name: udf-example-lib-centos-8-${{github.sha}}
name: udf-example-lib-centos-7-${{github.sha}}
path: ./cpp/build/velox/udf/examples/
- name: Download Benchmark
uses: actions/download-artifact@v2
- uses: actions/download-artifact@v2
with:
name: benchmark-centos-8-${{github.sha}}
name: benchmark-centos-7-${{github.sha}}
path: ./cpp/build/velox/benchmarks/
- name: Download Arrow Jars
uses: actions/download-artifact@v2
- uses: actions/download-artifact@v2
with:
name: arrow-jars-centos-8-${{github.sha}}
name: arrow-jars-centos-7-${{github.sha}}
path: /root/.m2/repository/org/apache/arrow/
- name: Update mirror list
run: |
Expand Down
5 changes: 2 additions & 3 deletions dev/ci-velox-buildstatic-centos-7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
set -e

source /opt/rh/devtoolset-9/enable
cd $GITHUB_WORKSPACE/
source ./dev/vcpkg/env.sh
export NUM_THREADS=4
./dev/builddeps-veloxbe.sh --build_tests=OFF --build_benchmarks=OFF --build_arrow=OFF --enable_s3=ON \
--enable_gcs=ON --enable_hdfs=ON --enable_abfs=ON
./dev/builddeps-veloxbe.sh --enable_vcpkg=ON --build_arrow=OFF --build_tests=ON --build_benchmarks=ON \
--build_examples=ON --enable_s3=ON --enable_gcs=ON --enable_hdfs=ON --enable_abfs=ON

0 comments on commit 2a45832

Please sign in to comment.