-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Implement Github Actions #59
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Cf. mostly nomenclatural notes below.
For reference, here's the set of jobs this generated. (I don't seem to be able to let'er rip in this repo, I guess it needs to have Anything at first.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. https://github.com/jameskr97/infoware/actions/runs/1632159485 seems to've completed without issues, too.
Applied as 88b1ac1, thanks! |
CI for infoware 🛠️
My intention is to build on all three platforms as I mentioned in #47. I noticed that someone had already made PR #57 before I had the chance to make this PR, thought I wanted to still share what I created, and let the maintainers choose if they would like to merge.
The main differences, is that I use one
.yml
file for all three operating systems. In my experience, it simplifies seeing which build failed and for which commit, verses when they are in two separate files, and you have to look at two separate separate GHA detail pages.The only idea I pulled from #57 is adding the build status badges to the
README.md
. I did switch to use HTML only for the top portion with theinfoware
header, anda
andimg
tags for the badges. In my opinion it looks cleaner that having all the badge+header info on a single line, though if this is not desired, I'm happy to revert the commit. (Regaurdless of switching or not, until a PR is merged, and an action CI is run on ThePhD's page, the badge on theREADME.md
won't properly show a badge)I was able to use ninja all three OS's. It's was able to notably cut down on my compile times for my other projects, so it's a go-to for most projects.
I was unsure what the desired CMake variable settings were, so I went with:
INFOWARE_USE_OPENCL=ON
(Except Windows)INFOWARE_EXAMPLES=ON
INFOWARE_TESTS=ON
Please let me know if I should make any changes!