This is a simple example of how to use Ccache within Azure Pipelines.
Files:
.azure-pipelines/ccache-pipeline.yml
: Azure Pipelines configuration file which installs and configures Ccache for caching compilation, and compiles the code using a Makefile.cppsrc/main.cpp
: A simple C++ program.Makefile
: A simple Makefile to build the C++ program.
To use, create a Pipeline in Azure DevOps and point it to the ccache-pipeline.yml
file.