-
Notifications
You must be signed in to change notification settings - Fork 95
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
Automated build with github actions (Moved to PR #115) #112
Automated build with github actions (Moved to PR #115) #112
Conversation
replaced depricated FindCuda with new LANGUAGES CUDA simplifies architecture and cublas
Hi Jim. This is an interesting idea. I don't think it's possible to build the package on a Github-hosted runner, however? Are you using the Github actions app to run this workflow locally? |
Hi @superchromix. No, the build is running on github hosted windows and ubuntu runners. Merge the pull request and watch it run :) |
Great work all. One thing I would love to see is the integration of the functional tests (actual fit results) into the automated workflow, and not just testing whether the build completes. This would require a self hosted server with a GPU. Anyone care to give this a spin? The big advantage of this would be functionally testing the code, in addition to testing the build. |
I will have time over the weekend to review this pull request more fully. One thing I notice, however, is that this request is becoming multi-purpose. Jim’s original pull request had one new file. There are now 9 files changed including major changes to the Cmake files. Bundling multiple updates into one request makes it more difficult to test and validate. I may break this up and change one part at a time. |
replace depricated find pythong with new function
Hi @superchromix. Thanks for your attention to this effort. I agree with you about separating out the different PR's. In our case, we needed some changes (e.g. the CMake tweaks) to help validate the build automation and we needed build automation to validate the changes. That said, I wholeheartedly agree we should decouple these PRs (now that we're done chicken-and-egg'ing and everyone seems onboard with the build automation). How about this for a plan? 1.) Let's get the build automation going so we're at least running the build process -- I can create a separate PR for this. I can start on item 1 (new build automation PR) and see about throwing a computer together for item 2 (self-hosted runner with GPU). We might also consider some off-line coordination around the administrative aspects of setting up a runner, etc. Cheers, |
Great. Let’s go with (1) in your list and I can get that merged and tested on my end. I think (2) would be great to see set up, and I’d be glad to work with you on that. I’ll coordinate with you on the other points. best, |
@superchromix I've created a new PR for the build automation (1) here: #115 |
If you get #115 integrated, I could work on consolidating all the CMake changes back into #94 (with the new edits so it actually works). Changing to the new CUDA integration in CMake is a big change, but I do think it is for the better (and will be forced eventually anyway when the old cuda function is removed). |
I like that idea @ironictoo -- yes, once we get #115 integrated into Gpufit master, the build actions will automatically run on pull request #94 so we can see how the CMake changes are working. |
More test enviornments, updated find python
11.3.0 was failing
I'm working on an automated build of gpufit using GitHub actions. This is currently working well on Windows and I am also interested to get it working on Linux (but that's not my primary focus at the moment -- happy to have help from others here).