Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Github Actions workflow #1

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

theoparis
Copy link

This just builds each .cpp file in a subfolder with the clang compiler and then stores the compiled program in a artifact on Github. The last step isn't really necessary here though. I enabled most of the important warnings from the compiler, but did not add -Werror so it shouldn't cause any major compilation errors (just warnings).

I should mention that it builds the code into a single welcome.o file for example, and does not place it into a subfolder in the out folder. So if there are two files with the same name, in different weeks, it might cause problems atm. I'm yet to figure out how to improve the github action so that it adds a week_3_welcome_ prefix.

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.

1 participant