HsOpenSSL icon indicating copy to clipboard operation
HsOpenSSL copied to clipboard

Port the CI of HsOpenSSL to GitHub Actions

Open Kleidukos opened this issue 4 years ago • 7 comments

Kleidukos avatar Jan 10 '22 12:01 Kleidukos

I'll take a look at this.

L-as avatar Jan 10 '22 12:01 L-as

Please assign me.

L-as avatar Jan 10 '22 12:01 L-as

Ping @L-as : Any progress yet?

andreasabel avatar Feb 15 '22 12:02 andreasabel

Nope I forgot about this due to a lot of other stuff, looking at it again. I was thinking of using Nix but Nix doesn't work well with GitHub Actions without Cachix AFAICT.

L-as avatar Feb 15 '22 13:02 L-as

I think having CI for the major OSs and stack and cabal would be great since it would be a live documentation of the prerequisites needed on the different OSs.

I just fought the Stack on Windows battle, needing HsOpenSSL >= 0.11.6.1 (as it seems) and:

        stack exec -- pacman --noconfirm -Sy msys2-keyring
        stack exec -- pacman --noconfirm -S mingw-w64-x86_64-pkg-config
        stack exec -- pacman --noconfirm -S mingw-w64-x86_64-openssl

See:

  • https://github.com/hackage-trustees/hackage-cli/pull/36

andreasabel avatar Feb 15 '22 14:02 andreasabel

@L-as I don't think nix will be reliable on macOS & Windows unfortunately

Kleidukos avatar Feb 15 '22 23:02 Kleidukos

@vshabanov Maybe you should take matters in your own hands.
No CI, with a project binding external libraries, constant upstream changes... I don't know how you sleep soundly at night...

andreasabel avatar Dec 22 '22 17:12 andreasabel