y-flat / yfc

The best (because it's the only) compiler for the Y-flat programming language.
GNU General Public License v3.0
6 stars 7 forks source link

Refactor CI #105

Closed adamhutchings closed 2 years ago

adamhutchings commented 2 years ago

Right now, each of the three checks separately compiles the yfc executable. We need it to only compile once, and if the compilation fails, don’t try to run the other two workflows.

Sophon96 commented 2 years ago

I feel the best way to do this is to actually refactor the workflows to have one for each platform (Linux, MacOS, and Windows (if we care about that)). The current workflow times seem pretty low, and there's not too much activity going on, so we shouldn't hit the 2000 minute limit.

adamhutchings commented 2 years ago

Alright, that sounds like a good idea. Just Linux and Mac for now, because there’s a 0% chance that this compiles on Windows.

Sophon96 commented 2 years ago

👍🏻

JakeRoggenbuck commented 2 years ago

We should have a workflow that makes sure no one ports this to windows