{"id":29538779,"url":"https://github.com/buildkite/cmake-cpp-example","last_synced_at":"2025-07-17T05:16:05.346Z","repository":{"id":304094923,"uuid":"1017750362","full_name":"buildkite/cmake-cpp-example","owner":"buildkite","description":"An example pipeline that builds and tests a C++ project using CMake.","archived":false,"fork":false,"pushed_at":"2025-07-11T04:52:39.000Z","size":310,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-11T07:50:31.744Z","etag":null,"topics":["buildkite","cmake","cmake-examples","cpp","example","pipeline"],"latest_commit_sha":null,"homepage":"https://buildkite.com/buildkite/cmake-cpp-example/builds/latest?branch=main","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buildkite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-11T03:36:50.000Z","updated_at":"2025-07-11T05:01:38.000Z","dependencies_parsed_at":"2025-07-11T07:50:34.146Z","dependency_job_id":"6119b230-16f5-4695-8104-f71ae441e008","html_url":"https://github.com/buildkite/cmake-cpp-example","commit_stats":null,"previous_names":["buildkite/cmake-example"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/buildkite/cmake-cpp-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite%2Fcmake-cpp-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite%2Fcmake-cpp-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite%2Fcmake-cpp-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite%2Fcmake-cpp-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildkite","download_url":"https://codeload.github.com/buildkite/cmake-cpp-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite%2Fcmake-cpp-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265567437,"owners_count":23789480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["buildkite","cmake","cmake-examples","cpp","example","pipeline"],"created_at":"2025-07-17T05:15:36.612Z","updated_at":"2025-07-17T05:16:05.341Z","avatar_url":"https://github.com/buildkite.png","language":null,"readme":"# Buildkite C++ CMake Example\n\n[![Build status](https://badge.buildkite.com/f9b46d96710d254e34229ba68bb8797d0b8f1e64ac5abfecb9.svg?branch=main)](https://buildkite.com/buildkite/cmake-cpp-example/builds/latest?branch=main)\n[![Add to Buildkite](https://img.shields.io/badge/Add%20to%20Buildkite-14CC80)](https://buildkite.com/new)\n\nThis repository demonstrates a [Buildkite](https://buildkite.com/) pipeline that builds and tests a simple C++ project using [CMake](https://cmake.org/).\n\n👉 **See this example in action:** [buildkite/cmake-cpp-example](https://buildkite.com/buildkite/cmake-cpp-example/builds/latest?branch=main)\n\nSee the full [Getting Started Guide](https://buildkite.com/docs/guides/getting-started) for step-by-step instructions on how to get this running, or try it yourself:\n\n[![Add to Buildkite](https://buildkite.com/button.svg)](https://buildkite.com/new)\n\n\u003ca href=\"https://buildkite.com/buildkite/cmake-cpp-example/builds/latest?branch=main\"\u003e\n  \u003cimg width=\"2400\" alt=\"Screenshot of example pipeline build page\" src=\".buildkite/screenshot.png\" /\u003e\n\u003c/a\u003e\n\n\u003c!-- docs:start --\u003e\n\n## How it works\n\nThis example:\n- Builds a simple C++ app using `CMakeLists.txt` and a basic `main.cpp` file\n- Defines a test in `test/test_hello.cpp`, run using [CTest](https://cmake.org/cmake/help/latest/manual/ctest.1.html)\n- Uses a `.buildkite/pipeline.yml` to run:\n  - `cmake -S . -B build`\n  - `cmake --build build`\n  - `ctest --test-dir build --verbose`\n- Runs on a [Buildkite-hosted agent](https://buildkite.com/docs/pipelines/hosted-agents) with CMake and a C++ compiler preinstalled - no Docker setup needed 🎉\n\n## Requirements\n\n- A Buildkite agent with:\n  - `cmake`\n  - `make`\n  - A C++ compiler like `g++` or `clang++`\n\n  _(This example uses a **[Buildkite-hosted agent image (Linux)](https://buildkite.com/docs/pipelines/hosted-agents/linux#agent-images)** with all required tools preinstalled - no extra setup needed!)_\n\n\u003e 💡 The default agent queue is set in the Buildkite **Pipeline Settings → Steps** UI,\n\u003e so there's no need to specify it inside the `.buildkite/pipeline.yml` file.\n\n\u003c!-- docs:end --\u003e\n\n## License\n\nSee [LICENSE](LICENSE) (MIT)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildkite%2Fcmake-cpp-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildkite%2Fcmake-cpp-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildkite%2Fcmake-cpp-example/lists"}