Is anyone aware of a tutorial on how to implement input output tests for C++ assignments on GitHub classrooms? I tried putting clang and g++ compile commands in the setup command and ./main as the run command, but the actions workflow does not recognize clang or g++. Any guidance would be appreciated.
g++ should work in autograding (I haven’t tried clang). Remember, the default output file from g++ is a.out. You probably want to specifiy the output filename in the g++ command; something like g++ -o main main.cpp.
Setting up the autograding tests would look something like: