Skip to content

Conversation

@NicMcPhee
Copy link
Contributor

@NicMcPhee NicMcPhee commented Sep 9, 2022

This is essentially a copy of the disemvowel actions from the next lab, with the relevant name changes, etc.

I also added the badges here.

The two valgrind checks deliberately fail since those are memory issues the students are supposed to fix in this lab. That also means that those two badges are red instead of green. Presumably all the checks and badges will be happy when the students turn in their labs.

Closes #6

This is essentially a copy of the `disemvowel` actions from the next lab, with the relevant name changes, etc.
I'm not 100% sure when/why we do/don't need the `-pthread` flag, but the code didn't compile on the VM used for the testing, and I'm guessing that removing that flag is the problem. You don't seem to need it in our lab, though.

Maybe the issue is different C++ compilers, i.e., GNU vs CLang?
All three GitHub Actions had both `push` and `pull-request` as triggers, which meant that we run all the tests twice whenever we pushed to a PR. That just seems wasteful, so I removed the `on pull-request` trigger.
This documents the existence of GitHub Actions and the status indicators. I still need to sort out the badge material.
I also added a note about the badges in the README.
One of the badge URLs still had `disemvowel` in it (copy-paste error). Hopefully this will fix that.
@NicMcPhee NicMcPhee marked this pull request as ready for review September 9, 2022 17:04
@NicMcPhee NicMcPhee merged commit 5cf7999 into main Sep 16, 2022
@NicMcPhee NicMcPhee deleted the add-github-actions branch September 16, 2022 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add GitHub Actions

2 participants