You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there are two ways to extract the compilation and linking information from the project
automatic, if the project has CMakeList.txt
manual, if the project has any other build procedure.
Let implement the thirds automatic way, if the the project has the utbot_build.sh script in the project root.
The utbot_build.sh script is implemented by author of the project and build the project into the build project folder.
Here the build project folder is the folder that is mentioned as a build folder in the UTBotCpp wizard setup.
Then the procedure of UTBotCpp configuration is following:
UTBotCpp creates the build folder at the configuration stage as it made it earlier
UTBotCpp is looking for the utbot_build.sh script at the project root and if does not exists, returns to fallback scenario
If the utbot_build.sh script exists, UTBotCpp creates the wrapper script utbot_configure.sh in the build folder with the context
#!/bin/bash
# This file is automatically generated by UnitTestBot. For further information see https://unittestbot.org
cd ..
./utbot_build.sh
The wrapper need for the run of bear configurator from the build folder.
The text was updated successfully, but these errors were encountered:
alexey-utkin
changed the title
Implement support for custom build script inside CI Action on Gitgub
Implement support for custom build script inside CI Action on Github
Sep 9, 2022
…Part 2 (Command line) #458 (#459)
* Implement support for custom build script inside CI Action on Github #451
* Implement support for custom build script inside CI Action on Github Part 2 (Command line) #458
Currently there are two ways to extract the compilation and linking information from the project
CMakeList.txt
Let implement the thirds automatic way, if the the project has the
utbot_build.sh
script in the project root.The
utbot_build.sh
script is implemented by author of the project and build the project into thebuild
project folder.Here the
build
project folder is the folder that is mentioned as a build folder in the UTBotCpp wizard setup.Then the procedure of UTBotCpp configuration is following:
utbot_build.sh
script at the project root and if does not exists, returns to fallback scenarioutbot_build.sh
script exists, UTBotCpp creates the wrapper scriptutbot_configure.sh
in the build folder with the contextThe wrapper need for the run of
bear
configurator from the build folder.The text was updated successfully, but these errors were encountered: