Skip to content

Added CI check for GCC #394

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

Merged
merged 12 commits into from
Apr 4, 2025
Merged

Added CI check for GCC #394

merged 12 commits into from
Apr 4, 2025

Conversation

Gazizonoki
Copy link
Collaborator

No description provided.

@Gazizonoki Gazizonoki requested a review from Copilot April 3, 2025 19:06
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for running the CI pipeline with GCC alongside Clang by updating workflow configurations and modifying related actions.

  • Introduces a compiler matrix in multiple GitHub workflow files to test with both gcc and clang.
  • Updates build and installation actions to support gcc-13, along with adjustments in cache keys and presets.
  • Adds type alias TSelf in rate limiter settings header for improved readability and consistency.

Reviewed Changes

Copilot reviewed 8 out of 18 changed files in this pull request and generated no comments.

Show a summary per file
File Description
include/ydb-cpp-sdk/client/rate_limiter/rate_limiter.h Adds type alias TSelf for settings structs
.github/workflows/warmup_cache.yaml Updates caching key to account for compiler matrix
.github/workflows/tests.yaml Adjusts matrix and concurrency groups to include compiler
.github/workflows/examples.yaml Updates matrix and alters build directory reference in examples
.github/actions/prepare_vm/action.yaml Adds installation steps for gcc-13/g++-13 and update alternatives
.github/actions/build/action.yaml Introduces a new compiler input and updates preset names for build
Files not reviewed (10)
  • .devcontainer/Dockerfile: Language not supported
  • .devcontainer/configure.sh: Language not supported
  • CMakeLists.txt: Language not supported
  • CMakePresets.json: Language not supported
  • clang.toolchain: Language not supported
  • include/ydb-cpp-sdk/client/CMakeLists.txt: Language not supported
  • include/ydb-cpp-sdk/client/topic/CMakeLists.txt: Language not supported
  • src/client/topic/CMakeLists.txt: Language not supported
  • src/client/topic/impl/CMakeLists.txt: Language not supported
  • util/CMakeLists.txt: Language not supported
Comments suppressed due to low confidence (1)

.github/actions/build/action.yaml:25

  • The build preset in the build step changed from 'release' to 'default', which may lead to an unintended configuration. Verify if 'default' is the intended preset for both clang and gcc builds, or if it should remain consistent with the configure step.
cmake --build --preset default -- -j$(nproc)

@Gazizonoki Gazizonoki marked this pull request as ready for review April 3, 2025 23:34
@Gazizonoki Gazizonoki requested a review from dcherednik April 4, 2025 01:18
@Gazizonoki Gazizonoki merged commit f84c1e3 into main Apr 4, 2025
18 checks passed
@Gazizonoki Gazizonoki deleted the run-gcc-workflow branch April 4, 2025 13:52
@Gazizonoki Gazizonoki linked an issue Apr 4, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support SDK build for gcc and add CI run with gcc
2 participants