Hey everyone! I've been getting back into programming after a break and I'm working on a C project for a client. I keep seeing a lot of CI/CD setups for languages like Java and Python, but I'm looking for something tailored for C. My proposed pipeline is GitHub > Jenkins > GCC > SonarQube > Trivy > CMake or Ninja > Nexus > Docker > Kubernetes.
I want to know if this setup is on the right track! Specifically, I'm curious about whether GCC and CMake can fit into this pipeline effectively. Is there a tool similar to Maven in the C world that helps with compiling and building? Any insights or advice would be really appreciated! Thanks a lot!
3 Answers
You're right on the money! A pipeline is basically a fancy way to automate what you already do locally with GCC and CMake. So yes, you can definitely use those in your Jenkins setup.
CI/CD for C is pretty straightforward—it's all about compiling, packaging, and deploying just like any other app. What exactly are you looking for that differs from the usual process you've seen before? It sounds pretty standard to me!
Absolutely! You can integrate GCC and CMake into your pipeline with no issues. C doesn't really have a direct counterpart to Maven, but CMake does a pretty solid job filling that gap. Just make sure you know where you're deploying—are you planning to use AWS or Google Cloud? Your project choice in C/C++ will really speed things up and make it scalable!
Definitely! The deployment target will be crucial for your toolchain. No CI/CD setup is complete without a solid deployment plan!