diff --git a/.github/workflows/build_linux_arm64_wheels-gh.yml b/.github/workflows/build_linux_arm64_wheels-gh.yml index 7737a8a6a5a..bd41586ef7b 100644 --- a/.github/workflows/build_linux_arm64_wheels-gh.yml +++ b/.github/workflows/build_linux_arm64_wheels-gh.yml @@ -59,30 +59,9 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Restore submodules cache - uses: actions/cache/restore@v3 - id: cache - with: - path: | - contrib/** - !contrib/*-cmake - !**/CMakeLists.txt - key: | - submodule-${{ hashFiles('.gitmodules') }} - - name: Update submodules if cache miss - if: steps.cache.outputs.cache-hit != 'true' + - name: Update submodules run: | git submodule update --init --recursive --jobs 4 - - name: Save submodules cache - if: steps.cache.outputs.cache-hit != 'true' - uses: actions/cache/save@v3 - with: - path: | - contrib/** - !contrib/*-cmake - !**/CMakeLists.txt - key: | - submodule-${{ hashFiles('.gitmodules') }} - name: ccache uses: hendrikmuhs/ccache-action@v1.2 with: diff --git a/.github/workflows/build_linux_x86_wheels.yml b/.github/workflows/build_linux_x86_wheels.yml index 4a19f874ea9..64c7f249a3b 100644 --- a/.github/workflows/build_linux_x86_wheels.yml +++ b/.github/workflows/build_linux_x86_wheels.yml @@ -59,26 +59,9 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Restore submodules cache - uses: actions/cache/restore@v3 - id: cache - with: - path: | - contrib/** - key: | - submodule-${{ hashFiles('.gitmodules') }} - - name: Update submodules if cache miss - if: steps.cache.outputs.cache-hit != 'true' + - name: Update submodules run: | git submodule update --init --recursive --jobs 4 - - name: Save submodules cache - if: steps.cache.outputs.cache-hit != 'true' - uses: actions/cache/save@v3 - with: - path: | - contrib/** - key: | - submodule-${{ hashFiles('.gitmodules') }} - name: ccache uses: hendrikmuhs/ccache-action@v1.2 with: diff --git a/.github/workflows/build_macos_x86_wheels.yml b/.github/workflows/build_macos_x86_wheels.yml index 22027959efc..cd51307c4ab 100644 --- a/.github/workflows/build_macos_x86_wheels.yml +++ b/.github/workflows/build_macos_x86_wheels.yml @@ -51,26 +51,9 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Restore submodules cache - uses: actions/cache/restore@v3 - id: cache - with: - path: | - contrib/** - key: | - submodule-${{ hashFiles('.gitmodules') }} - - name: Update submodules if cache miss - if: steps.cache.outputs.cache-hit != 'true' + - name: Update submodules run: | git submodule update --init --recursive --jobs 4 - - name: Save submodules cache - if: steps.cache.outputs.cache-hit != 'true' - uses: actions/cache/save@v3 - with: - path: | - contrib/** - key: | - submodule-${{ hashFiles('.gitmodules') }} - name: ccache uses: hendrikmuhs/ccache-action@v1.2 with: diff --git a/.github/workflows/clean b/.github/workflows/clean deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/.github/workflows/pr_ci.yaml b/.github/workflows/pr_ci.yaml index d2305c83202..342b386d77e 100644 --- a/.github/workflows/pr_ci.yaml +++ b/.github/workflows/pr_ci.yaml @@ -18,13 +18,6 @@ jobs: mkdir -p /home/ubuntu/pr_runner/ git clone https://github.com/chdb-io/chdb.git /home/ubuntu/pr_runner/chdb fi - - - name: Check for ccache status - run: | - ccache -sv - - - name: Copy submodules - run: cp -a /builder_cache/contrib /home/ubuntu/pr_runner/chdb/ - name: Cleanup and update chdb directory run: | @@ -46,31 +39,3 @@ jobs: python3 -m pip install flake8 cd chdb && python3 -m flake8 working-directory: /home/ubuntu/pr_runner/chdb - - - name: Cleanup dist directory - run: rm -rf /home/ubuntu/pr_runner/chdb/dist/* - - - name: Set PYTHON_VERSIONS environment variable - run: echo "PYTHON_VERSIONS=3.11" >> $GITHUB_ENV - - - name: Run build script - run: bash -x ./chdb/build_linux_arm64.sh - working-directory: /home/ubuntu/pr_runner/chdb - - - name: Check ccache statistics - run: | - ccache -s - ls -lh chdb - df -h - working-directory: /home/ubuntu/pr_runner/chdb - - - name: Audit wheels - run: | - export PYENV_ROOT="$HOME/.pyenv" - [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" - eval "$(pyenv init -)" - pyenv local 3.11 - ls -lh dist - python3 -m pip install auditwheel - python3 -m auditwheel -v repair -w dist/ --plat manylinux_2_17_aarch64 dist/*.whl - working-directory: /home/ubuntu/pr_runner/chdb