Skip to content

Commit 10100e7

Browse files
committed
chore: add test workflows for gcc
1 parent b4e2c1c commit 10100e7

2 files changed

Lines changed: 23 additions & 6 deletions

File tree

.github/workflows/test.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ env:
3333
PAIMON_HOME: /tmp/paimon
3434

3535
jobs:
36-
ubuntu:
36+
ubuntu-clang:
3737
name: AMD64 Ubuntu 24.04
3838
runs-on: ubuntu-24.04
3939
timeout-minutes: 120
@@ -50,3 +50,20 @@ jobs:
5050
CC: clang
5151
CXX: clang++
5252
run: ci/scripts/build_paimon.sh $(pwd) ON
53+
ubuntu-gcc:
54+
name: AMD64 Ubuntu 24.04
55+
runs-on: ubuntu-24.04
56+
timeout-minutes: 120
57+
strategy:
58+
fail-fast: false
59+
steps:
60+
- name: Checkout paimon-cpp
61+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
62+
with:
63+
lfs: true
64+
- name: Build Paimon
65+
shell: bash
66+
env:
67+
CC: gcc-14
68+
CXX: g++-14
69+
run: ci/scripts/build_paimon.sh $(pwd) ON

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -331,17 +331,17 @@ if(PAIMON_BUILD_TESTS)
331331
paimon_global_index_static
332332
paimon_local_file_system_static
333333
paimon_mock_file_format_static
334-
paimon_parquet_file_format_shared
335-
paimon_blob_file_format_shared)
334+
paimon_parquet_file_format_static
335+
paimon_blob_file_format_static)
336336
337337
if(PAIMON_ENABLE_LANCE)
338-
list(APPEND TEST_STATIC_LINK_LIBS paimon_lance_file_format_shared)
338+
list(APPEND TEST_STATIC_LINK_LIBS paimon_lance_file_format_static)
339339
endif()
340340
if(PAIMON_ENABLE_ORC)
341-
list(APPEND TEST_STATIC_LINK_LIBS paimon_orc_file_format_shared)
341+
list(APPEND TEST_STATIC_LINK_LIBS paimon_orc_file_format_static)
342342
endif()
343343
if(PAIMON_ENABLE_AVRO)
344-
list(APPEND TEST_STATIC_LINK_LIBS paimon_avro_file_format_shared)
344+
list(APPEND TEST_STATIC_LINK_LIBS paimon_avro_file_format_static)
345345
endif()
346346
if(PAIMON_ENABLE_JINDO)
347347
list(APPEND TEST_STATIC_LINK_LIBS paimon_jindo_file_system_shared)

0 commit comments

Comments
 (0)