summaryrefslogtreecommitdiff
path: root/.github/workflows/cmake.yml
Commit message (Collapse)AuthorAgeFilesLines
* github actions: Align cmake step names with the autotools build.Ralph Giles2021-07-091-2/+2
| | | | | | Make it a little more clear how steps correspond, and add 'build' to both workflow names so the intention of the runs is explicit on the actions page.
* github actions: Add a basic CMake build.Ralph Giles2021-07-091-0/+38
Run cmake build and test steps on the three supported desktop targets. Default compiler and so on is fine. Although we define an environment variable to hold the path to the cmake build directory, we must use the noisier expression syntax of the github job builder to substitute into each command line for portability across both unix and windows shell syntax. The windows image also requires an explicit build config switch, `-C Debug` or similar, for ctest to execute even though CMakeLists.txt doesn't define alternate build configurations. On linux and macos ctest runs fine without the extra argument.