Hi, I teach a CS course, and I was wondering if there is a practical way in which to setup a server that would accept student’s tar files, run some tests, and show them the results.

I could go “full unix mode” and roll up some accounts let them ssh into a server, scp their their files… but I was wondering if there is a prepacked solution for this that is nicer to the eye. And I thought maybe you know some.

  • PeriodicallyPedantic@lemmy.ca
    link
    fedilink
    English
    arrow-up
    7
    ·
    13 hours ago

    This is basically what CI/CD pipelines do.

    Compile the code, run tests, run static analysis. If results pass, submit the code. If results fail, reject it with an explanation.

    Idk the details of how you’d implement this for a class, without letting everyone see eachother’s completed work, but I’m sure it could be done.