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
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: Build Release
name: Build and Test

on:
push:
Expand All @@ -30,55 +30,56 @@ permissions:
contents: read

jobs:
clang-release:
build-and-test:
name: ${{ matrix.name }}
runs-on: ubuntu-24.04
timeout-minutes: 120
strategy:
fail-fast: false
matrix:
include:
- name: gcc-release
cc: gcc-14
cxx: g++-14
build_args: --build_type Release
- name: clang-release
build_args: --build_type Release
- name: gcc-debug
cc: gcc-14
cxx: g++-14
- name: clang-debug
fetch_depth: '0' # fetch the PR target branch history for clang-tidy
build_args: >-
--check_clang_tidy
--lint_git_target_commit "origin/${{ github.base_ref || github.event.repository.default_branch }}"
- name: asan-ubsan
build_args: --enable_asan --enable_ubsan
- name: tsan
skip_rust: true
build_args: --enable_tsan
steps:
- name: Checkout paimon-cpp
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
lfs: true
fetch-depth: ${{ matrix.fetch_depth || '1' }}
- name: Setup ccache
uses: ./.github/actions/setup-ccache
with:
cache-key-prefix: ccache-clang-release
cache-key-prefix: ccache-${{ matrix.name }}
- name: Install Rust toolchain (tantivy-fts)
if: ${{ !matrix.skip_rust }}
shell: bash
run: ci/scripts/setup_rust.sh
- name: Build Paimon
shell: bash
env:
CC: clang
CXX: clang++
run: ci/scripts/build_paimon.sh $(pwd) false false Release
- name: Show ccache statistics
if: always()
run: ccache -s
gcc-release:
runs-on: ubuntu-24.04
timeout-minutes: 120
strategy:
fail-fast: false
steps:
- name: Checkout paimon-cpp
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
lfs: true
- name: Setup ccache
uses: ./.github/actions/setup-ccache
with:
cache-key-prefix: ccache-gcc-release
- name: Install Rust toolchain (tantivy-fts)
shell: bash
run: ci/scripts/setup_rust.sh
- name: Build Paimon
shell: bash
env:
CC: gcc-14
CXX: g++-14
run: ci/scripts/build_paimon.sh $(pwd) false false Release
CC: ${{ matrix.cc || 'clang' }}
CXX: ${{ matrix.cxx || 'clang++' }}
run: >-
ci/scripts/build_paimon.sh
--source_dir "$(pwd)"
${{ matrix.build_args }}
- name: Show ccache statistics
if: always()
run: ccache -s
59 changes: 0 additions & 59 deletions .github/workflows/clang_test.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/gcc8_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
env:
CC: gcc-8
CXX: g++-8
run: ci/scripts/build_paimon.sh $(pwd)
run: ci/scripts/build_paimon.sh --source_dir "$(pwd)"
- name: Show ccache statistics
if: always()
run: ccache -s
58 changes: 0 additions & 58 deletions .github/workflows/gcc_test.yaml

This file was deleted.

58 changes: 0 additions & 58 deletions .github/workflows/test_with_sanitizer.yaml

This file was deleted.

6 changes: 6 additions & 0 deletions build_support/tsan-suppressions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

# Prebuilt shared libraries are not TSAN-instrumented. Suppress reports from the whole library.
race:liblance_lib_rc.so
thread:liblance_lib_rc.so
race:liblumina.so
race:libjindosdk_c.so.6
Loading
Loading