Open SimonMeysman opened 1 month ago
Hello! This action only checks if the c# code compiled successfully. If you have any more questions, please feel free to ask!
Incidentally, the visual studio project file is generated by this action. Previously, we used to do a style check of the script in Qodana right after this action.
Ok, it seems like you cannot help me any further then. I am looking for a way to compile my Unity project up until the phase where the C++ project is generated, as I need to insert code in the main.cpp to do some checks before the actual unity engine starts up, and this is not possible from the C# code. On my local windows machine I managed to do so by running this command,
"C:\Program Files\Unity\Hub\Editor\6000.0.23f1\Editor\Unity.exe" -batchmode -nographics -buildwindowsplayer "C:\Dev\windows-sln-cmd\" -logFile cmd-build-log.txt -customBuildName MyProject -projectPath Client -executeMethod Packages.Rider.Editor.RiderScriptEditor.SyncSolution -quit
but I cannot seem to find an equivalent solution to run in a Github Action.
I understood what you wanted to do. It may be possible to achieve this by pulling the docker image of game-ci in the action. I'm rooting for you.
Hi, first of all, feel free to disregard this issue if you want, it has no direct impact on your project.
I am trying to use GameCI unity build with
buildMethod: Packages.Rider.Editor.RiderScriptEditor.SyncSolution
just like you are using in theunified-check-ci
github action. My understanding is that that build method should create a visual studio c++ project based on the c# code written. However, after running the action, I am unable to find those generated files, even when the action is successful. Have you used the files generated by this action, or are you only checking if the code compilation succeeds?