DucktapeEngine / Ducktape

Ducktape - An open source 3d C++ game engine.
MIT License
127 stars 25 forks source link

Add build workflow to Github Actions #153

Closed cappe987 closed 2 years ago

cappe987 commented 2 years ago

Issue #106. Builds on Windows and Linux. Caches Linux dependencies. Runs on every push and PR.

[Sorry, my previous PR failed the pipeline because I had apparently missed to pull in the latest changes from main, and there had been some changes on Linux.]

Note that it takes some time to build it on Windows. Not sure if the parallelization make -j4 really took effect on Windows, or if it's just slow in general. Linux build is significantly faster since it doesn't need to build Assimp, which takes the majority of the time.

An addition to this could be to upload tarballs of the binary + other necessary files (Resources/?).

I was originally planning on doing this last week, but got stuck on getting it to build on Linux then. I realize someone else was assigned to this issue, but if they still do it you could give them hacktoberfest-accepted label even if you don't merge it (though I don't see any fork that they could be working on).

aryanbaburajan commented 2 years ago

Awesome! And thanks for editing the non-linux-compilant code in Entity.h, looks like a mistake by me haha 😄