Skip to content

Try to use 24.3 for tests on Linux #400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
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
30 changes: 24 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@ on:

env:
BUILD_TYPE: Release
CLICKHOUSE_SERVER_IMAGE: "clickhouse/clickhouse-server:22.3"


jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
compiler: [clang-6, clang-10-libc++, gcc-7, gcc-8, gcc-9]
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
compiler: [clang-6, clang-10-libc++, clang-18, gcc-7, gcc-8, gcc-9, gcc-13]
ssl: [ssl_ON, ssl_OFF]
dependencies: [dependencies_BUILT_IN]
dependencies: [dependencies_BUILT_IN, dependencies_SYSTEM]
clickhouse_server: [CH22.3, CH24.3]

include:
- compiler: clang-6
Expand All @@ -38,6 +39,11 @@ jobs:
C_COMPILER: clang-10
CXX_COMPILER: clang++-10

- compiler: clang-18
COMPILER_INSTALL: clang-18 libc++-dev
C_COMPILER: clang-18
CXX_COMPILER: clang++-18

- compiler: gcc-7
COMPILER_INSTALL: gcc-7 g++-7
C_COMPILER: gcc-7
Expand All @@ -53,9 +59,20 @@ jobs:
C_COMPILER: gcc-9
CXX_COMPILER: g++-9

- compiler: gcc-13
COMPILER_INSTALL: gcc-13 g++-13
C_COMPILER: gcc-13
CXX_COMPILER: g++-13

- ssl: ssl_ON
SSL_CMAKE_OPTION: -D WITH_OPENSSL=ON

- clickhouse_server: CH22.3
clickhouse_server_image: "clickhouse/clickhouse-server:22.3"

- clickhouse_server: CH24.3
clickhouse_server_image: "clickhouse/clickhouse-server:24.3"

- dependencies: dependencies_SYSTEM
compiler: compiler_SYSTEM
os: ubuntu-22.04
Expand All @@ -66,6 +83,7 @@ jobs:
DEPENDENCIES_CMAKE_OPTIONS: >-
-D WITH_SYSTEM_LZ4=ON
-D WITH_SYSTEM_ABSEIL=ON
clickhouse_server_image: "clickhouse/clickhouse-server:24.3"

runs-on: ${{matrix.os}}

Expand Down Expand Up @@ -114,8 +132,8 @@ jobs:

- name: Test - Start ClickHouse server in background
run: |
docker pull ${CLICKHOUSE_SERVER_IMAGE}
docker run -d --name clickhouse -p 9000:9000 ${CLICKHOUSE_SERVER_IMAGE}
docker pull ${{matrix.clickhouse_server_image}}
docker run -d --name clickhouse -p 9000:9000 ${{matrix.clickhouse_server_image}}
docker ps -a
docker stats -a --no-stream
## Check and wait until CH is ready to accept connections
Expand Down
Loading