Setup code quality actions
This page is a capture in the deferred bucket of the product backlog — a pre-sprint idea, not yet pulled into a sprint as a story.
We added a test password to the repo on purpose to see if it was going to be detected by the github actions:
std::string connection_string("postgresql://ores:ores@localhost:5433/oresdb");
It wasn't. We need to figure out which actions need to be setup for this. Add any other actions we may be missing.
The build seems to be failing:
-- SCCache NOT found. CMake Error at /usr/local/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:152 (message): Could not find toolchain file: /home/runner/work/OreStudio/OreStudio/vcpkg/scripts/buildsystems/vcpkg.cmake Call Stack (most recent call first): CMakeLists.txt:61 (project) CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! ~/work/OreStudio/OreStudio ~/work/OreStudio/OreStudio ~/work/OreStudio/OreStudio cpp/autobuilder: No supported build command succeeded. cpp/autobuilder: autobuild summary. Error: We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.18.0/x64/codeql/cpp/tools/autobuild.sh". Exit code was 1 and last log line was: cpp/autobuilder: autobuild summary. See the logs for more details.
This may be due to a missing sub-module for vcpkg.