Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(github): free disk space for daily building on github #1586

Merged
merged 1 commit into from
Aug 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/regular-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,27 @@ jobs:
working-directory: /root
run: |
git clone -b ${{ github.ref_name }} --depth=1 https://github.com/apache/incubator-pegasus.git
- name: Free Disk Space (Ubuntu)
run: |
.github/workflows/free_disk_space.sh
- name: Unpack prebuilt third-parties
run: |
rm -f /root/thirdparties-src.zip
unzip /root/thirdparties-bin.zip -d ./thirdparty
rm -f /root/thirdparties-bin.zip
find ./thirdparty -name '*CMakeFiles*' -type d -exec rm -rf "{}" +
rm -rf ./thirdparty/hadoop-bin/share/doc
rm -rf ./thirdparty/zookeeper-bin/docs
- name: Compilation Pegasus
run: ./run.sh build --test --compiler ${{ matrix.compiler }} --skip_thirdparty -j $(nproc)
run: |
./run.sh build --test --compiler ${{ matrix.compiler }} --skip_thirdparty -j $(nproc)
- name: Clear Build Files
run: |
find ./build/latest/src/ -name '*CMakeFiles*' -type d -exec rm -rf "{}" +
- name: Packaging Server
run: ./run.sh pack_server
run: |
./run.sh pack_server
rm -rf pegasus-server-*

build_and_lint_go:
name: Build and Lint Golang
Expand Down
Loading