Skip to content

Commit

Permalink
[native] Delete files not needed for the debug build
Browse files Browse the repository at this point in the history
The debug build for PrestoC++ fails as we are running out of disk.
The disk space is limited and this is one way of reducing the size.
Tests are not being built here and can be removed.

In addition, a newer, smaller dependency image is being used to reduce
the disk space consumption even more.
  • Loading branch information
czentgr authored and tdcmeehan committed Jan 9, 2025
1 parent e2bb5c2 commit bef2e4d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/prestocpp-linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
prestocpp-linux-build-engine:
runs-on: ubuntu-22.04
container:
image: prestodb/presto-native-dependency:0.290-20241014120930-e1fc090
image: prestodb/presto-native-dependency:0.291-20250108164449-87d82ed
env:
CCACHE_DIR: "${{ github.workspace }}/ccache"
steps:
Expand Down Expand Up @@ -40,6 +40,12 @@ jobs:
- name: Zero ccache statistics
run: ccache -sz

- name: Remove files not needed for the build
run: |
find . -name data | xargs rm -r
find . -name tests | xargs rm -r
find . -name test | xargs rm -rf
- name: Build engine
run: |
source /opt/rh/gcc-toolset-12/enable
Expand Down

0 comments on commit bef2e4d

Please sign in to comment.