haskell-CI / haskell-ci

Scripts and instructions for using CI services (e.g. Travis CI or Appveyor) with multiple GHC configurations
GNU General Public License v3.0
435 stars 71 forks source link

Sourcehut / sr.ht backend #526

Open fgaz opened 3 years ago

fgaz commented 3 years ago

https://sourcehut.org/ 's CI has some nice features, and it'd be nice to support it.

I have a basic prototype here: https://github.com/fgaz/haskell-ci/tree/sourcehut

It's very rough and barebones for now, but it does work. I'm not sure when/if I'll be able to polish this up, but I thought I'd open this ticket in the meantime so if someone else is interested there's no duplicate work.

edit: also it looks like I may want to wait for this? https://github.com/haskell-CI/haskell-ci/projects/1

phadej commented 3 years ago

That project is not created by me. I'll remove that one.

fgaz commented 2 years ago

@phadej i polished that branch a bit and it's now almost in a mergeable state. In particular I'm now using ListBuilder like in the github one, so it should be easy to extend it.

Would you accept a pr even if it only has a few basic steps for now?

phadej commented 2 years ago

If I can defer all the issues to you I'll review it with "the code should be written so, I won't have much trouble keep it compiling".

Especially I won't try to keep it feature par with GHA (even when sourcehut code is more complete).

fgaz commented 2 years ago

Makes sense. I probably won't have time to make it reach or keep feature parity with github either, but something is better than nothing. Yes, I'll try to fix any backend-specific issues that arise.

I'll open a pr then.