Skip to content
Merged
Show file tree
Hide file tree
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
23 changes: 11 additions & 12 deletions .github/workflows/be-ut-clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,8 @@ jobs:
persist-credentials: false
submodules: recursive

- name: Ccache ${{ github.ref }}
uses: ./.github/actions/ccache-action
with:
key: BE-UT-Clang
max-size: "2G"
restore-keys: BE-UT-Clang-

- name: Paths filter
- name: Paths Filter
if: ${{ github.event_name != 'schedule' }}
uses: ./.github/actions/paths-filter
id: filter
with:
Expand All @@ -54,8 +48,16 @@ jobs:
- 'gensrc/proto/**'
- 'gensrc/thrift/**'

- name: Ccache ${{ github.ref }}
if: ${{ github.event_name == 'schedule' || steps.filter.outputs.be_changes == 'true' }}
uses: ./.github/actions/ccache-action
with:
key: BE-UT-Clang
max-size: "2G"
restore-keys: BE-UT-Clang-

- name: Run UT ${{ github.ref }}
if: ${{ steps.filter.outputs.be_changes == 'true' }}
if: ${{ github.event_name == 'schedule' || steps.filter.outputs.be_changes == 'true' }}
run: |
export DEFAULT_DIR='/opt/doris'

Expand All @@ -81,6 +83,3 @@ jobs:
export PATH="${DEFAULT_DIR}/ldb-toolchain/bin/:$(pwd)/thirdparty/installed/bin/:${PATH}"
DORIS_TOOLCHAIN=clang ./run-be-ut.sh -j "$(nproc)" --run --clean

- name: Skip UT ${{ github.ref }}
if: ${{ steps.filter.outputs.be_changes == 'false' }}
run: echo 'No need to run.'
23 changes: 11 additions & 12 deletions .github/workflows/be-ut-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,8 @@ jobs:
persist-credentials: false
submodules: recursive

- name: Ccache ${{ github.ref }}
uses: ./.github/actions/ccache-action
with:
key: BE-UT-macOS
max-size: "2G"
restore-keys: BE-UT-macOS-

- name: Paths filter
- name: Paths Filter
if: ${{ github.event_name != 'schedule' }}
uses: ./.github/actions/paths-filter
id: filter
with:
Expand All @@ -54,8 +48,16 @@ jobs:
- 'gensrc/proto/**'
- 'gensrc/thrift/**'

- name: Ccache ${{ github.ref }}
if: ${{ github.event_name == 'schedule' || steps.filter.outputs.be_changes == 'true' }}
uses: ./.github/actions/ccache-action
with:
key: BE-UT-macOS
max-size: "2G"
restore-keys: BE-UT-macOS-

- name: Run UT ${{ github.ref }}
if: ${{ steps.filter.outputs.be_changes == 'true' }}
if: ${{ github.event_name == 'schedule' || steps.filter.outputs.be_changes == 'true' }}
run: |
cellars=(
'automake'
Expand Down Expand Up @@ -88,6 +90,3 @@ jobs:

./run-be-ut.sh --run -j "$(nproc)" --clean

- name: Skip UT ${{ github.ref }}
if: ${{ steps.filter.outputs.be_changes == 'false' }}
run: echo 'No need to run.'