From 8262fb3104a843b1a23ebc20773b44233a00fdb2 Mon Sep 17 00:00:00 2001 From: Krishna Pai Date: Tue, 5 Mar 2024 15:03:36 -0800 Subject: [PATCH] Fixing source of ubuntu script --- .github/workflows/scheduled.yml | 11 ++++++----- scripts/setup-ubuntu.sh | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index a3910c54aaa0c..1dd8ee083647f 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -18,6 +18,7 @@ on: pull_request: paths: - ".github/workflows/scheduled.yml" + - scripts/* schedule: - cron: '0 3 * * *' @@ -75,7 +76,7 @@ jobs: ref: "${{ inputs.ref || 'main' }}" - name: "Install dependencies" - run: cd velox && source ./scripts/setup-ubuntu.sh + run: cd velox && ./scripts/setup-ubuntu.sh - name: "Build" run: | @@ -125,7 +126,7 @@ jobs: ref: "${{ inputs.ref || 'main' }}" - name: "Install dependencies" - run: source ./scripts/setup-ubuntu.sh + run: ./scripts/setup-ubuntu.sh - name: Download presto fuzzer uses: actions/download-artifact@v3 @@ -173,7 +174,7 @@ jobs: ref: "${{ inputs.ref || 'main' }}" - name: "Install dependencies" - run: source ./scripts/setup-ubuntu.sh + run: ./scripts/setup-ubuntu.sh - name: Download spark expression fuzzer uses: actions/download-artifact@v3 @@ -247,7 +248,7 @@ jobs: ref: "${{ inputs.ref || 'main' }}" - name: "Install dependencies" - run: source ./scripts/setup-ubuntu.sh + run: ./scripts/setup-ubuntu.sh - name: Download aggregation fuzzer uses: actions/download-artifact@v3 @@ -288,7 +289,7 @@ jobs: ref: "${{ inputs.ref || 'main' }}" - name: "Install dependencies" - run: source ./scripts/setup-ubuntu.sh + run: ./scripts/setup-ubuntu.sh - name: Download join fuzzer uses: actions/download-artifact@v3 diff --git a/scripts/setup-ubuntu.sh b/scripts/setup-ubuntu.sh index 762b7b1e2d542..4c35e0c701824 100755 --- a/scripts/setup-ubuntu.sh +++ b/scripts/setup-ubuntu.sh @@ -29,7 +29,7 @@ BOOST_VERSION=boost-1.84.0 NPROC=$(getconf _NPROCESSORS_ONLN) DEPENDENCY_DIR=${DEPENDENCY_DIR:-$(pwd)} export CMAKE_BUILD_TYPE=Release -SUDO=sudo +export SUDO=sudo # Install all velox and folly dependencies. # The is an issue on 22.04 where a version conflict prevents glog install,