ashutoshvarma/Build CMake
Configure, Build and Test a CMake project
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| source-dir | Source root directory where top level CMake script is present | — | ${{ github.workspace }} |
| build-dir | Build directory where build files will be generated | yes | ${{ github.workspace }}/../build |
| build-type | CMake build type (Release, Debug, MinSizeRel, RelWithDebInfo) | yes | Release |
| cc | C Compiler for toolchain | no | — |
| cxx | C++ Compiler for toolchain | no | — |
| target | CMake build target | no | — |
| parallel | Number of concurrent jobs for build and test | no | 4 |
| run-test | Run CTest or not | no | false |
| install-build | Run 'cmake --install' or not | no | false |
| submodule-update | Update git submodules | no | false |
| configure-options | Misc Options to pass to CMake while configuring project | no | — |
| build-options | Misc Options to pass to CMake while building project using cmake --build | no | — |
| install-options | Misc Options to pass to CMake while installing project using cmake --install | no | — |
| ctest-options | Misc Options to pass to CTest | no | — |
Outputs
no outputs