diff --git a/.github/workflows/velox_backend.yml b/.github/workflows/velox_backend.yml index 23bf8b11ee36..ce2848d0def4 100644 --- a/.github/workflows/velox_backend.yml +++ b/.github/workflows/velox_backend.yml @@ -54,16 +54,10 @@ concurrency: cancel-in-progress: true jobs: - fetch-latest-code: + fetch-latest-cache-code: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4 - - build-native-lib-centos-7: - needs: fetch-latest-code - runs-on: ubuntu-20.04 - container: apache/gluten:vcpkg-centos-7 - steps: - name: Get Ccache uses: actions/cache/restore@v3 with: @@ -71,6 +65,14 @@ jobs: key: ccache-centos7-release-default-${{github.sha}} restore-keys: | ccache-centos7-release-default + + build-native-lib-centos-7: + needs: fetch-latest-code + runs-on: ubuntu-20.04 + container: apache/gluten:vcpkg-centos-7 + volumes: + - ${{ env.CCACHE_DIR }}:/root/.ccache + steps: - name: Build Gluten native libraries run: | df -a