You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2023/06/14 00:33:21 UTC
[doris] branch master updated: [chore](workflow) Improve the robustness of BE UT (Clang) (#20744)
This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new edd0a1590d [chore](workflow) Improve the robustness of BE UT (Clang) (#20744)
edd0a1590d is described below
commit edd0a1590d302ea05cead24970429bf56cf8709f
Author: Adonis Ling <ad...@gmail.com>
AuthorDate: Wed Jun 14 08:33:14 2023 +0800
[chore](workflow) Improve the robustness of BE UT (Clang) (#20744)
---
.github/workflows/be-ut-clang.yml | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/be-ut-clang.yml b/.github/workflows/be-ut-clang.yml
index 9828ac8fc9..2df12492f7 100644
--- a/.github/workflows/be-ut-clang.yml
+++ b/.github/workflows/be-ut-clang.yml
@@ -31,6 +31,21 @@ jobs:
name: BE UT (Clang)
runs-on: ubuntu-22.04
steps:
+ - name: Checkout easimon/maximize-build-space
+ run: |
+ git clone -b v7 https://github.com/easimon/maximize-build-space
+
+ - name: Maximize build space
+ uses: ./maximize-build-space
+ with:
+ root-reserve-mb: 4096
+ swap-size-mb: 8192
+ remove-dotnet: 'true'
+ remove-android: 'true'
+ remove-haskell: 'true'
+ remove-codeql: 'true'
+ remove-docker-images: 'true'
+
- name: Checkout
uses: actions/checkout@v3
with:
@@ -65,6 +80,7 @@ jobs:
wget https://github.com/amosbird/ldb_toolchain_gen/releases/download/v0.17/ldb_toolchain_gen.sh \
-q -O /tmp/ldb_toolchain_gen.sh
bash /tmp/ldb_toolchain_gen.sh "${DEFAULT_DIR}/ldb-toolchain"
+ rm /tmp/ldb_toolchain_gen.sh
sudo apt update
sudo DEBIAN_FRONTEND=noninteractive apt install --yes tzdata byacc
@@ -77,12 +93,11 @@ jobs:
branch="${{ github.base_ref }}"
if [[ -z "${branch}" ]] || [[ "${branch}" == 'master' ]]; then
curl -L https://github.com/apache/doris-thirdparty/releases/download/automation/doris-thirdparty-prebuilt-linux-x86_64.tar.xz \
- -o doris-thirdparty-prebuilt-linux-x86_64.tar.xz
+ -o - | tar -Jxf -
else
curl -L "https://github.com/apache/doris-thirdparty/releases/download/automation-${branch/branch-/}/doris-thirdparty-prebuilt-linux-x86_64.tar.xz" \
- -o doris-thirdparty-prebuilt-linux-x86_64.tar.xz
+ -o - | tar -Jxf -
fi
- tar -xvf doris-thirdparty-prebuilt-linux-x86_64.tar.xz
popd
export PATH="${DEFAULT_DIR}/ldb-toolchain/bin/:$(pwd)/thirdparty/installed/bin/:${PATH}"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org