mirror of
https://github.com/threeal/cmake-action.git
synced 2026-02-01 19:40:49 +00:00
add a new run-test input option for running tests using CTest
This commit is contained in:
@@ -17,6 +17,7 @@ For more information, see [action.yml](./action.yml) and [GitHub Actions guide](
|
||||
| `source-dir` | Path | Source directory of the CMake project. Defaults to current directory. |
|
||||
| `build-dir` | Path | Build directory of the CMake project. Defaults to `build` directory in current directory. |
|
||||
| `targets` | Multiple strings | List of build targets. |
|
||||
| `run-test` | `true` or `false` | If enabled, run testing using [CTest](https://cmake.org/cmake/help/latest/manual/ctest.1.html). Defaults to `false`. |
|
||||
| `generator` | String | Build system generator of the CMake project. |
|
||||
| `c-compiler` | String | Preferred executable for compiling C language files. |
|
||||
| `cxx-compiler` | String | Preferred executable for compiling C++ language files. |
|
||||
|
||||
Reference in New Issue
Block a user