cnlohr / noeuclid

Non-euclidean GPU Raytraced Game
BSD 3-Clause "New" or "Revised" License
644 stars 48 forks source link

CI builds #27

Open erinzm opened 9 years ago

erinzm commented 9 years ago

@cnlohr: This game seems to vary a lot in buildability between commits- Is it possible to use Travis or Drone.io to do continuous integration? The only reason I suggest Drone is that it lets you retrieve build artifacts from a successful build.

cnlohr commented 9 years ago

I don't think it's needed, if we switch back to the normal build system. It was topsy turby for a bit when cmake was attempted, but overall it's been kinda reliable.

erinzm commented 9 years ago

I'm sorry, I just kinda impulsively posted this after it didn't compile for me. I meant for testing that the compiled code compiles, but I now realize that even it it compiles, TCC might have an error with a runtime script. If you didn't mind, I could work on adding a unit test/static analysis framework into the system :)

On Mon, Jan 5, 2015 at 12:18 AM, Charles notifications@github.com wrote:

I don't think it's needed, if we switch back to the normal build system. It was topsy turby for a bit when cmake was attempted, but overall it's been kinda reliable.

— Reply to this email directly or view it on GitHub https://github.com/cnlohr/noeuclid/issues/27#issuecomment-68672148.

cnlohr commented 9 years ago

haha, that seems a bit aggressive for a project so small. Though there are multiple versions of TCC out there each incompatible with the next... any idea what is causing the issue now?

erinzm commented 9 years ago

I think that I got TCC from a fork of 0.9.25 on github, and ended up installing it on a system where I previously had a different libTCC version installed. I'll try getting the very latest version from Bellard's site and building it. Perhaps that will work :)

erinzm commented 9 years ago

The other reason to use CI is so that it can build against a standard environment. Then when it doesn't build on our machines, we'll know if it's our environment or a bug in the code.

cnlohr commented 9 years ago

I don't actually know anything about how that works. How would we decide what the golden environment is? How would we target other platforms, i.e. OSX?

phiresky commented 9 years ago

I just added a .travis.yml file doing a simple build, but @cnlohr will still have to login at http://travis-ci.org to enable it. And maybe add a webhook

cnlohr commented 9 years ago

If you have experience with this sort of thing I'd rather you take the lead on it?

cnlohr commented 9 years ago

Oh! It's apparently part of github. Interesting. Regardless, if you're willing to accept the responsibility, I'd rather that. Already the codebase has departed a good ways from what I am the definitive expert of.

phiresky commented 9 years ago

Only used it once (and with java), so not really. The current config also only compiles which is not all that helpful.