This is an automated email from the ASF dual-hosted git repository. wangdan pushed a commit to branch free-regular-disk-space in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
commit 2585e24c91b32592b533df95937e3d4cd7ffdf55 Author: Dan Wang <[email protected]> AuthorDate: Mon Aug 21 21:06:09 2023 +0800 chore(github): free disk space for daily building on github --- .github/workflows/regular-build.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/regular-build.yml b/.github/workflows/regular-build.yml index 798b28e3a..9e9a0d06f 100644 --- a/.github/workflows/regular-build.yml +++ b/.github/workflows/regular-build.yml @@ -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 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
