Skip to content
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

Setup compiler and CMake in CI using a new Github Action #223

Merged
merged 3 commits into from
May 23, 2024

Conversation

bjosv
Copy link
Collaborator

@bjosv bjosv commented May 22, 2024

APT packages are sometimes removed so lets use the Github Action aminya/setup-cpp to setup the compiler,
which fixes current CI issues with missing compiler. This action will also install the requested CMake version.

This PR includes the following changes:

  • Use latest GCC, Clang and CMake in CI
  • Fix warnings in examples

bjosv added 3 commits May 22, 2024 16:55
Compiler APT packages are sometimes removed so lets use the
Github Action `aminya/setup-cpp` to setup the compiler.
This action will now also install the requested CMake version.
- Use latest release of hiredis in examples to fix:
  warning: implicit declaration of function 'redisClusterAsyncSetConnectCallbackNC'

- Check cc->err in callback instead of cc->errstr:
  warning: address of array 'cc->errstr' will always evaluate to 'true'
@bjosv bjosv merged commit ccf7334 into Nordix:master May 23, 2024
34 checks passed
@bjosv bjosv deleted the fix-ci branch May 23, 2024 06:15
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.

2 participants