zhenrong-wang / hpc-now

A Cross-Platform, Multi-Cloud High-Performance Computing Platform
https://www.hpc-now.com
MIT License
245 stars 111 forks source link

add basic build cicd #47

Closed rudi-cilibrasi closed 4 months ago

rudi-cilibrasi commented 4 months ago

just an idea. to check PR and commits for buildability automatically each push.

here is an example of it working already https://github.com/rudi-cilibrasi/hpc-now/actions/workflows/buildtest.yaml

zhenrong-wang commented 4 months ago

Thanks a lot, checking it now.

rudi-cilibrasi commented 4 months ago

and what did you see @zhenrong-wang?

zhenrong-wang commented 4 months ago

I was on a trip these days. Sorry for not responding. Will check it out by tomorrow.

zhenrong-wang commented 4 months ago

I have a question: This project is cross-platform, meaning that the binaries need to be built successfully on macOS, Windows, and Linux. Could that be done on GitHub using actions too? I saw the ci/cd you added is on ubuntu virtual environment.

zhenrong-wang commented 4 months ago

@rudi-cilibrasi

rudi-cilibrasi commented 4 months ago

yes @zhenrong-wang you can do those tests also but i have not set them up myself on github so cannot help you with that as easily. linux came first and it is the only platform i routinely test on although i use many variations through docker images. find out more about Mac and Win here https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources

zhenrong-wang commented 4 months ago

@rudi-cilibrasi I got the point. Let me have a try on Windows-latest and macos-latest. Github actions support these 2 OS.